We're back after a server migration that caused effbot.org to fall over a bit harder than expected. Expect some glitches.

C. Image File Formats

The Python Imaging Library supports a wide variety of raster file formats. Nearly 30 different file formats can be identified and read by the library. Write support is less extensive, but most common interchange and presentation formats are supported.

The open function identifies files from their contents, not their names, but the save method looks at the name to determine which format to use, unless the format is given explicitly.