Resizing 8-bit BMP image changes bit depth to 32

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?".
Locked
User avatar
magick
Site Admin
Posts: 11254
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

Resizing your image introduces new colors and promotes the image from colormapped to truecolor. To solve the problem, either use -sample to resize or add -colors 256 to your command line to change the image back to colormapped before writing it.

Locked