BMP Export With BPP Format

Hi all,

After this thread

I put some more time into a bmp export script which allows the user to specify the bits per pixel (bpp).

Supported bpp formats at time of writing are:

  • Indexed 1
  • Indexed 4
  • Indexed 8
  • RGB 15 (RGB 555, 1 unused)
  • RGB 16 (RGB 565)
  • RGB 24 (RGB 888)
  • RGB 32 (RGB 888, 8 unused)
  • RGBA 16 (RGBA 5551)
  • RGBA 32 (RGBA 8888)

All indexed formats refer to a 24 bit RGB palette; Aseprite palettes are 32 bit RGBA. The readme in the code repo linked above contains a table for compatibility with other software.

Thanks for your interest.

1 Like