XPM-PIL X11 Pixel MapΒΆ

Extensions: .xpm

This is a copy from the Pillow docs.

PIL reads X pixmap files (mode P) with 256 colors or less.

The write() method sets the following info properties:

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