Hi all,

I am observing a difference in the convert function between version 5 and
version 6 of IM. On one computer with version 5.3.8, raw 8 bit images are
converted to grayscale 8 bit pngs, but on computers with version 6 (I've
tried 6.3.0 and 6.2.8), the same images are being converted to 24 bit RGB
images, even after I specify -depth 8 gray. Here is the command I'm using

convert -size 1023x1023 -depth 8 gray:filename.raw filename.png

I was able to force it into making a grayscale by adding -type GrayScale,
but I'm not convinced that I dont lose information by doing this, and I'd
prefer to convert the image correctly.

Some background on the image I am feeding it, from what I understand it is
an image which in its raw form is actually 6 bit, padded to 8 bit in the
begining. I didnt write the program that does it, so I dont know exactly
whats done, but whatever it was worked with version 5. Does anyone know
what might be the best way to fix this problem? Is there a way to outsmart
version 6 into creating the 8 bit grayscale?

Any advice would be most appreciated!
Thanks
Christina
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to