Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-orient stopped working with 11.2 compared to 11.1.2 #1199

Closed
kirk-marple opened this issue Jun 15, 2022 · 1 comment
Closed

Auto-orient stopped working with 11.2 compared to 11.1.2 #1199

kirk-marple opened this issue Jun 15, 2022 · 1 comment
Milestone

Comments

@kirk-marple
Copy link

Magick.NET version

11.2.0

Environment (Operating system, version and so on)

Windows 11, .NET 6.0, C#

Description

Noticed recently that we upgraded to 11.2 and some images started being loaded upside down. Seems like 'top-right' orientation iPhone files (both JPEG and HEIC).

	<PackageReference Include="Magick.NET-Q8-AnyCPU" Version="11.2.0" />

Just back-dated to 11.1.2, and the problem went away.

Steps to Reproduce

Simply using this call to load images from (Azure blob) stream.

                var image = new MagickImage(stream);

                image.AutoOrient();

Attached two example files which come in fine with 11.1.2, but upside down with 11.2.

IMG_1719
IMG_1289

@dlemstra
Copy link
Owner

This was indeed a bug that was introduced in the recent version because we misunderstood the information in this document: http://sylvana.net/jpegcrop/exif_orientation.html. This will be resolved in the next release.

@dlemstra dlemstra added this to the 11.2.1 milestone Jun 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants