Orientation tags in .heic photo

Started by paolobenve, September 26, 2023, 07:43:59 AM

Previous topic - Next topic

mceachen


Phil Harvey

OK.  I'll change the QuickTime 'irot' tag conversions to correspond with the same strings used in EXIF.  From my tests with the iPhone 15 after the patch that will be included in ExifTool 12.85:

exiftool *.HEIC -orientation -rotation -G1
======== IMG_0045.HEIC
[IFD0]          Orientation                     : Rotate 90 CW
[QuickTime]     Rotation                        : Rotate 90 CW
======== IMG_0046.HEIC
[IFD0]          Orientation                     : Horizontal (normal)
[QuickTime]     Rotation                        : Horizontal (Normal)
======== IMG_0047.HEIC
[IFD0]          Orientation                     : Rotate 270 CW
[QuickTime]     Rotation                        : Rotate 270 CW
======== IMG_0048.HEIC
[IFD0]          Orientation                     : Rotate 180
[QuickTime]     Rotation                        : Rotate 180

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

mceachen