Page 1 of 1

What property that Imagemagick colorspace reads?

Posted: 2015-08-24T07:12:03-07:00
by newbeee
I need to what property of image that Imagemagick colorspace reading?
or otherwise How the colorspace finding the color property of the image like specific line in image? like Colormode or ICC profile ...etc

Re: What property that Imagemagick colorspace reads?

Posted: 2015-08-24T08:19:08-07:00
by dlemstra
I am guessing that your question is related to this topic: viewtopic.php?f=27&t=28222? The ColorSpace property will give you the color space of the image. In your other topic I asked what you are planning to do with this information. Maybe we can figure out a different solution if you don't get the expected ColorSpace value.

Re: What property that Imagemagick colorspace reads?

Posted: 2015-08-24T09:55:18-07:00
by newbeee
dlemstra wrote:I am guessing that your question is related to this topic: viewtopic.php?f=27&t=28222? The ColorSpace property will give you the color space of the image. In your other topic I asked what you are planning to do with this information. Maybe we can figure out a different solution if you don't get the expected ColorSpace value.
No, this is not related to that one. I am reading the image file as text file. I need to know where the colorspace is reading the value?

Re: What property that Imagemagick colorspace reads?

Posted: 2015-08-24T10:25:55-07:00
by fmw42
You should not open an image file as text. Each image format stores its meta data differently if at all in a readable form. You should use Imagemagick's identify -verbose to get colorspace information. Sorry I do not know the Magick.Net equivalent.

Re: What property that Imagemagick colorspace reads?

Posted: 2015-08-24T15:38:12-07:00
by 246246
newbeee wrote:I am reading the image file as text file. I need to know where the colorspace is reading the value?
What is your image format? (jpg, pdf or tiff?) I don't understand your second sentence. Does it mean "where is the colorspace information stored"? Then that depends on image format.

Re: What property that Imagemagick colorspace reads?

Posted: 2015-08-24T20:40:33-07:00
by newbeee
my image format is tiff

Re: What property that Imagemagick colorspace reads?

Posted: 2015-08-24T21:49:43-07:00
by 246246
newbeee wrote:my image format is tiff
Then, it is PhotometricInterpretation Tag. 262 (hex 0x0106) (http://www.awaresystems.be/imaging/tiff ... ation.html), unless you are talking about metadata in Exif.