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

New Post: exif

$
0
0
Couple of questions about reading Exif data.
  • GetExifProfile() is on MagickImage. Does the image get decoded if all you do is get that property?
using (MagickImage im = new MagickImage(SourceStream)) 
{
    ExifProfile exifPro = im.GetExifProfile();
}
  • If it does decode the image, would it be possible to put a version of GetExifProfile() on MagickImageInfo so the image isn't decoded?
We're trying to avoid multiple decodes of an image as it goes through the pipeline. In this specific case, we want to know if the Exif orientation is something other than 0 without decoding the image yet. This would be a bool to tell us we need to call AutoOrient() later in the code when it's expected that a decode will happen. Thanks

Viewing all articles
Browse latest Browse all 3693

Trending Articles



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