I guess it exists a similar problem with 16 color images?
They are identified as 8-bit PseudoClassRGB.



----- Original Message ----- From: "Anthony Thyssen" <[EMAIL PROTECTED]>
To: "ImageMagick User List" <[email protected]>
Sent: Thursday, June 01, 2006 5:42 AM
Subject: Re: [magick-users] identify 24-bit files


"Anonymous" on  wrote...
| identify -format "%r" image24bit_rgb.bmp
|
| DirectClassGray   <--- if image only has gray pixels.
| DirectClassRGB   <--- if image has any colored pixels.
|
| How can I distinguish between 8-bit grayscale images
| and 24-bit images with only gray pixels in it?
|
A IM will read in the image before identifying it and it does not use
24 bit values, IM probably will not be able to tell you.

You will need a specific BMP identification program, such as provided
for other formats.  EG:   jpegtrans   pngtrans  giftrans

I don't know what you can use,  but maybe  the UNIX   file   comannds
can tell you.

 Anthony Thyssen ( System Programmer )    <[EMAIL PROTECTED]>
-----------------------------------------------------------------------------
 "We learned dwarves are not ment to fly."
came a voice from the edge of the circle. -- Rick Cook, "Wizardry Cursed"
-----------------------------------------------------------------------------
    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



_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to