BMP: force file format to be 8-bit palette type

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

You can force images of 16 colors or less to 8-bit by adding -compress RLE to your command line.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

The only other solution is to edit coders/bmp.c to force 8-bit output then recompile/reinstall ImageMagick.
Post Reply