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

XPM (read only)

PIL reads X pixmap files (mode “P”) with 256 colours or less.

The open method sets the following info properties:


Transparency colour index. This key is omitted if the image is not transparent.