Hi Folks,

I'm working with png images that are only two colors, black and red. I'm using 
a palette and setting the black to be transparent. I start out with 24bit 
images and am trying to use the convert tool to change them to 8bit images. I'm 
using the following command:
convert myFile.png PNG8:myFile.png

I've tried various options such as the -depth flag, -colors flag, and any other 
flag that looked like it would lock the bit depth. However, whatever I do, I 
always end up with an image with 2 bits per pixel rather than 8. Unfortunately, 
the program I'm displaying the png's in really doesn't like images with less 
that 8bits. Does anybody know how to force this option?

If I open the file in IrfanView and then save it in IrfanView it comes out with 
the correct 8 bit pixels, so I know it's possible.

Suggestions?

Thanks,
Andrew


Andrew C. Chase
Software Engineer
Monterey Bay Aquarium Research Institute
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to