ImageMagick do not rotate image according to EXIF

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
sunrunaway
Posts: 3
Joined: 2014-01-06T02:13:42-07:00
Authentication code: 6789

ImageMagick do not rotate image according to EXIF

Post by sunrunaway »

Image

This image has EXIF
"Orientation":{"val":"Top-left","type":3}
, we know its EXIF is obvious wrong, but it should rotate and lay down.

I use newest ImageMagick running:

Code: Select all

convert auto-orient-bug.jpg -auto-orient output.jpg
the output image is same as the origin.
My question is how ImageMagick dectect this and keep the image standing.
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: ImageMagick do not rotate image according to EXIF

Post by dlemstra »

I can confirm this is a bug in ImageMagick and it will be fixed in 6.8.8-2.
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
sunrunaway
Posts: 3
Joined: 2014-01-06T02:13:42-07:00
Authentication code: 6789

Re: ImageMagick do not rotate image according to EXIF

Post by sunrunaway »

dlemstra wrote:I can confirm this is a bug in ImageMagick and it will be fixed in 6.8.8-2.
so this image should lay down after auto-orient?
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: ImageMagick do not rotate image according to EXIF

Post by dlemstra »

The image will be rotated 90 degrees with -auto-orient in the latest beta.
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
Post Reply