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)
Thanks. I'll look into this as soon as I get a chance and post back here when I know more.
- Phil
This bug will be fixed in ExifTool 11.88, to be released within a couple of days.
Thanks for this report!
- Phil
Cool, thanks for the quick response. Any chance you can give a link that shows the fix so I can patch my current code?
You'll have to wait for the release. I've made other changes as well.
- Phil
ExifTool 11.88 is now available.
- Phil