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

Post by magick » 2006-03-30T13:29:51-07:00

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.

Post Reply