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.
Do you mean convert image.bmp -compress none image.pcx? It produces the same result.
Sorry I had it backwards. But I am not a Windows expert so know little about Windows file formats. I am on a Mac. You my need help from a windows expert or the IM folks.
Do you mean convert image.bmp -compress none image.pcx? It produces the same result.
Sorry I had it backwards. But I am not a Windows expert so know little about Windows file formats. I am on a Mac. You my need help from a windows expert or the IM folks.
Windows? I'm not a windows user
Thanks for helping. Anyway I think this is a bug.
The RLE compression is hardcoded (in pcx.c). I wouldn't call this a bug, as it's the intended behaviour in ImageMagick (and changing this would require a rewrite of some parts in the concerning method). I think, that's similar to GIF - that format also can't be saved without compression anymore in IM.
But I agree that it would be preferable if one could change these things at the commandline.
The PCX coder always writes the image with RLE compression.
Pete
Sorry, my ISP shutdown all personal webspace so my MagickWand Examples in C is offline.
See my message in this topic for a link to a zip of all the files.
el_supremo wrote:The PCX coder always writes the image with RLE compression.
Pete
Pete,
That was my thought also, but according to http://www.fileformat.info/format/pcx/egff.htm, uncompressed seems to be permitted even if the IM coder does not permit it or is IM using some delegate for that?
PCX files, however, always contain encoded image data, and currently the only valid value for the encoding field is 1.
This file http://www.qzx.com/pc-gpe/pcx.txt, which is supposed to be ZSoft's documentation of the PCX format, only talks about the file being encoded. It does not explicitly say anywhere that an uncompressed file is an option.
However, I modified my version of IM so that the coder will write an uncompressed PCX image and converted the rose: image to uncompressed rose.pcx. IrfanView and XnView can display the file but Paint Shop Pro can't.
@Magick: Let me know if you want my code to allow uncompressed PCX.
Pete
Sorry, my ISP shutdown all personal webspace so my MagickWand Examples in C is offline.
See my message in this topic for a link to a zip of all the files.