Python Imaging Library Handbook |
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.
The open method sets the following info properties:
Set to "bmp_rle" if the file is run-length encoded.