BMP-PIL Windows BitmapΒΆ

Extensions: .bmp

This is a copy from the Pillow docs.

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 write() method sets the following info properties:

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