Python Imaging Library Handbook |
PIL reads uncompressed GD files. Note that this file format cannot be automatically identified, so you must use the open function in the GdImageFile module to read such a file.
The open method sets the following info properties:
Transparency colour index. This key is omitted if the image is not transparent.