Adding QuickTime:Rotation in HEIC file

Started by olegos, February 16, 2022, 02:09:36 AM

Previous topic - Next topic

Phil Harvey

ExifTool can edit QuickTime:Rotation if it exists, but can't yet create it if it doesn't.

The reason is because of the overly-complex format of HEIC, and the associated difficulty adding this feature.  But I'll add this to my to-do list, and maybe I'll find some time to look into it.

- 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 ($).

golemus

Quote from: Phil Harvey on July 01, 2025, 07:33:39 PMExifTool can edit QuickTime:Rotation if it exists, but can't yet create it if it doesn't.

The reason is because of the overly-complex format of HEIC, and the associated difficulty adding this feature.  But I'll add this to my to-do list, and maybe I'll find some time to look into it.

- Phil

Maybe you could ask insights/help from MS Photos team @ Microsoft or related team @ Apple? As they have already done it. Or is their policy to ignore open source developers? I really don't know how these things work. Anyway reinventing the whole wheel feels a bit pointless. IMO its not like NTFS where MS made (AFAIK) open source community to reverse-engineer the whole thing. Even MS/Apple might benefit from these formats becoming more common as they host a lot of content which consumes a lot of bandwidth.

Anyway is it not kind of 2 flies with one hit problem as both HEIC and AVIF share the same HEIF container format? So that if you solve it for HEIC it is at same time solved for AVIF?

Phil Harvey

Asking wouldn't help, even if they answered (which they wouldn't).  I know what to do already.  The problem is the work involved in doing it.

- 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 ($).