What property that Imagemagick colorspace reads?

Magick.NET is an object-oriented C# interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning Magick.NET
Post Reply
newbeee
Posts: 17
Joined: 2015-08-20T21:48:05-07:00
Authentication code: 1151

What property that Imagemagick colorspace reads?

Post 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
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: What property that Imagemagick colorspace reads?

Post 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.
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
newbeee
Posts: 17
Joined: 2015-08-20T21:48:05-07:00
Authentication code: 1151

Re: What property that Imagemagick colorspace reads?

Post 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?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: What property that Imagemagick colorspace reads?

Post 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.
246246
Posts: 190
Joined: 2015-07-06T07:38:22-07:00
Authentication code: 1151

Re: What property that Imagemagick colorspace reads?

Post 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.
newbeee
Posts: 17
Joined: 2015-08-20T21:48:05-07:00
Authentication code: 1151

Re: What property that Imagemagick colorspace reads?

Post by newbeee »

my image format is tiff
246246
Posts: 190
Joined: 2015-07-06T07:38:22-07:00
Authentication code: 1151

Re: What property that Imagemagick colorspace reads?

Post 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.
Post Reply