Possible PCX fromat problem

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
bitplane

Possible PCX fromat problem

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

Re: Possible PCX fromat problem

Post 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.
Post Reply