BMP-FI Windows or OS/2 Bitmap

Extensions: .bmp

A BMP format based on the Freeimage library.

This format supports grayscale, RGB and RGBA images.

The freeimage plugin requires a freeimage binary. If this binary not available on the system, it can be downloaded manually from <https://github.com/imageio/imageio-binaries> by either

  • the command line script imageio_download_bin freeimage

  • the Python method imageio.plugins.freeimage.download()

Parameters for saving

compressionbool

Whether to compress the bitmap using RLE when saving. Default False. It seems this does not always work, but who cares, you should use PNG anyway.