NAME

dthumb - Generate Thumbnails + Index for a set of images

SYNOPSIS

dthumb [options]

DESCRIPTION

dthumb will create an index.xhtml with a list (thumbnails) of all images found in the current directory; the thumbnails will link to the images.

Note that recursion is not yet supported.

OPTIONS

-n, --no-names

Do not show image names below thumbnails

-d, --size pixels

Maximum thumbnail size (either width or height). Defaults to 200

-s, --spacing float

Use float as spacing factor. The size of each image element (image + possible border around it) is the number of pixels (see --size) times float. So for 1.1 you have a small border around each image, for 1.0 you have no border at all, etc.

-q, --quality int

Set thumbnail quality. Accepts values between 0 and 100, where 100 is the highest possible quality

EXIT STATUS

Zero upon success, non-zero otherwise.

CONFIGURATION

None.

FILES

dthumb always works in the current working directory. It will create the file index.xhtml, in which the HTML code for the thumbnail list is saved.

It also creates two directories: .thumbs for the thumbnail images, and .dthumb, which contains various data (so far icons and javascript code).

DEPENDENCIES

  • autodie (Included in core as of perl 5.10.1)

  • Data::Section

  • Image::Imlib2

BUGS AND LIMITATIONS

Thumbnails of changed images are not yet recreated.

AUTHOR

Copyright (C) 2009, 2010 by Daniel Friesel <derf@chaosdorf.de>

The lightbox code is (C) by Lokesh Dhakar <http://huddletogether.com/projects/lightbox/>, licensed under CC-BY-2.5

LICENSE

0. You just DO WHAT THE FUCK YOU WANT TO