[magick-users] 24-bit jpeg to 25-bit bmp

Per pja at itfabriken.se
Sat Sep 23 09:25:25 CDT 2006


How can a 24-bit jpeg (RGB 888) image be converted to a 8881 (RGBA) bmp file
with the following command?

convert infile.jpg -resize 123x123 outfile.bmp

Adding "-flatten +matte" does not solve the problem. I'm surprised
the alpha channel is created at all, jpeg cannot have any transparent
pixels.

Please explain.


More information about the Magick-users mailing list