Skip to content
Discussion options

You must be logged in to vote

I decided to use the approach that I described earlier. You can load the thumbnail like this:

var profile = image.GetProfile("dng:thumbnail");
using (var jpegThumbnail = new MagickImage(profile.GetData()))
{
    // Correct the image orientation
    jpegThumbnail.AutoOrient();
}

If the thumbnail contains an exif profile it will be loaded automatically.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@mwegithub
Comment options

Answer selected by mwegithub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants