digest provides a tool to generate HTML index pages and image previews.
Supported and unsupported file types
Digest supports all filetypes supported by python-imaging; currently this includes JPG, JPEG, JPE, GIF, PNG, TIF, TIFF, AND BMP.
In addition to creating thumbnails for supported file types, Digest will also use thumbnails for files or directories created by other programs or created by hand. For example, if you have created a thumbnail for a file named ./foo-bar.mpeg, digest will look for a thumbnail in ./.cache/foo-bar.jpg. A thumbnail for a directory ./dirname/ would be located in ./.cache/dirname.jpg.
If a directory contains images and has no hand-created thumbnail in its parent directory, digest will use the first image in the directory to generate a thumbnail for the directory.
Digest can be invoked from the command line with a list of directories to index; if the list is empty, Digest will index the current directory. Command line options can appear anywhere in the list of directories and apply to all directories.