All Pages All Books|
|
||
|
PNG
|
||
|
|
||
|
The library identifies, reads, and writes PNG files containing "1", "L", "P", "RGB", or "RGBA" data. Interlaced files are currently not supported.
The open method sets the following info properties:
gamma
Gamma, given as a floating point number.
transparency
Transparency colour index. This key is omitted if the image is not a transparent palette image.
The save method supports the following options:
optimize
If present, instructs the PNG writer to make the output file as small as possible. This includes extra processing in order to find optimal encoder settings.
Note: To enable PNG support, you need to build and install the ZLIB compression library before building the Python Imaging Library. See the distribution README for details.
PPM
The library reads and writes PBM, PGM and PPM files containing "1", "L" or "RGB" data.
PSD (read only)
The library identifies and reads PSD files written by Adobe Photoshop 2.5 and 3.0.
SGI (read only)
The library reads uncompressed "L" and "RGB" files. This driver is highly experimental.
SUN (read only)
The library reads uncompressed "1", "P", "L" and "RGB" files.
TGA (read only)
The library reads 24- and 32-bit uncompressed and run-length encoded TGA files.
|
||
|
|
||
All Pages All Books