ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: ehet1708 on February 15, 2020, 02:20:32 PM

Title: Bug: exiftool updating Quicktime Rotation value sets values incorrectly
Post by: ehet1708 on February 15, 2020, 02:20:32 PM
Reading of originally set Quicktime Rotation values for HEIC/HEIF files seems to be correct.

> exiftool -json -groupheadings -sort -n -a -e image.heic | grep Rotation
    "Rotation": 90,

But when I update the rotation of an image using:

> exiftool -Rotation=270 image.heic
    1 image files updated

And then read the value back out:
> exiftool -json -groupheadings -sort -n -a -e image.heic | grep Rotation
    "Rotation" : 4590,

This looks like for some reason the rotation values are getting an extra 12 rotations (12 x 360 = 4320) added to the values instead of simply being 0, 90, 180, 270

Using exiftool 11.86-1 from Debian bullseye (testing)
Title: Re: Bug: exiftool updating Quicktime Rotation value sets values incorrectly
Post by: Phil Harvey on February 15, 2020, 10:46:37 PM
Thanks.  I'll look into this as soon as I get a chance and post back here when I know more.

- Phil
Title: Re: Bug: exiftool updating Quicktime Rotation value sets values incorrectly
Post by: Phil Harvey on February 18, 2020, 09:17:57 AM
This bug will be fixed in ExifTool 11.88, to be released within a couple of days.

Thanks for this report!

- Phil
Title: Re: Bug: exiftool updating Quicktime Rotation value sets values incorrectly
Post by: ehet1708 on February 18, 2020, 08:13:28 PM
Cool, thanks for the quick response.  Any chance you can give a link that shows the fix so I can patch my current code?
Title: Re: Bug: exiftool updating Quicktime Rotation value sets values incorrectly
Post by: Phil Harvey on February 18, 2020, 09:22:42 PM
You'll have to wait for the release.  I've made other changes as well.

- Phil
Title: Re: Bug: exiftool updating Quicktime Rotation value sets values incorrectly
Post by: Phil Harvey on February 20, 2020, 09:49:23 AM
ExifTool 11.88 is now available.

- Phil