Quantcast
Channel: magick Discussions Rss Feed
Viewing all articles
Browse latest Browse all 3693

New Post: How to get "icc:model" of an image

$
0
0
I get null trying to get "icc:model" attribute from my Image.

But it's working for "description". When I do image.GetAttribute("icc:description"), it's not null

When I use Identify -verbose myimage.jpg, in Properties section I see both icc:model and icc:description.

I create MagickImage object this way

byte[] data = new byte[file.ContentLength];
file.InputStream.Read(data, 0, file.ContentLength);
MagickImage image = new MagickImage(data);

InputStream isn't null.
data isn't null. Even converted it to String to look what's happening there :)

What can I do wrong?

Viewing all articles
Browse latest Browse all 3693

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>