pythonware.com ::: library ::: Python Imaging Library Handbook

# The pilfile Utility

This utility identifies image files, showing the file format, size, and mode for every image it can identify.

        $ pilfile *.tif
        lena.tif: TIFF 128x128 RGB

Use the `-i` option to display the info member. Use the `-t` option to display the tile descriptor (which contains information used to load the image).