"Christina Williams" on wrote... | 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 | See IM Examples, Basics... http://www.imagemagick.org/Usage/basics/ It contains the basic differences between IM v5 and IM v6.
try outputing to PNG8:filename.png for a 8 bit pallette image. | 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. | The -type GrayScale would also help in this regard. See http://www.imagemagick.org/Usage/basics/#type Anthony Thyssen ( System Programmer ) <[EMAIL PROTECTED]> ----------------------------------------------------------------------------- Man may come, and man may go, but the earth abides. -- "The Earth Abides" ----------------------------------------------------------------------------- Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/ _______________________________________________ Magick-users mailing list [email protected] http://studio.imagemagick.org/mailman/listinfo/magick-users
