Page 1 of 1

Possible PCX fromat problem

Posted: 2010-07-19T07:27:04-07:00
by bitplane
If I quantise an image to 16, 8 or 4 colors and output as a PCX file, the result is always an 8-bit pcx file, though it dosen't need 8-bits of data. This isn't exactly a problem given that 8 bit files work. I downloaded ImageMagick hoping that it would create less than 8 bit PCX files to test my software with.

I'd also like to be able to control the plane arrangement in PCX and TIFF files. I guess the most likely option for that is 'separate' although I never tried it.

Re: Possible PCX fromat problem

Posted: 2010-07-25T14:17:03-07:00
by magick
ImageMagick only supports writing 8 or 1-bit PCX images. It should be simple enough to enhance the WritePCXImage() method in coders/pcx.c. If you apply a patch to support other bit depths, post it here for inclusion in the ImageMagick distribution.