PIL reads and writes Windows and OS/2 BMP files containing “1”, “L”, “P”, or “RGB” data. 16-colour images are read as “P” images. Run-length encoding is not supported.

Info Properties

The open method sets the following info properties:


Set to “bmp_rle” if the file is run-length encoded.


A Django site. rendered by a django application. hosted by webfaction.