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.
· python-imaging module