ImageMagick colorspace vs Photoshop colorspace
Posted: 2008-04-07T11:44:47-07:00
I'm using "identify -format %r filename" to get the image colorspace, for rgb and grayscale I get: DirectClassRGB, PseudoClassRGB, DirectClassGray, and PseudoClassGray.
The problem is that some rgb images gets identified as gray, in Photoshop if i lookup "Image" -> "Mode", the same image gets identified as rgb. (RGB color)
I think that has to do with ImageMagick beeing "smarter" looking up pixel for pixel. Is there any way of identifying these images as RGB the same way Photoshop does? I want to do some profile conversion and I need to lookup images that Photoshop identifies as rgb color mode.
The problem is that some rgb images gets identified as gray, in Photoshop if i lookup "Image" -> "Mode", the same image gets identified as rgb. (RGB color)
I think that has to do with ImageMagick beeing "smarter" looking up pixel for pixel. Is there any way of identifying these images as RGB the same way Photoshop does? I want to do some profile conversion and I need to lookup images that Photoshop identifies as rgb color mode.