diff --git a/src/DefaultExifToolOptions.ts b/src/DefaultExifToolOptions.ts index 7f02ae9e..21260bca 100644 --- a/src/DefaultExifToolOptions.ts +++ b/src/DefaultExifToolOptions.ts @@ -70,6 +70,21 @@ export const DefaultExifToolOptions: Omit< "GPSLongitude", "GPSPosition", "Orientation", + // NOT Rotation! Rotation can be encoded as degrees rotated clockwise, or a + // EXIF-Orientation string (!!). If we ask ExifTool for numeric rotations of HEICs, + // we get "3" (when it means "Rotate 90 CW"): + + // $ exiftool -j -Rotation -Orientation IMG_6947.HEIC + // [{ + // "Rotation": "Rotate 90 CW", + // "Orientation": "Rotate 90 CW" + // }] + + // $ exiftool -j -Rotation# -Orientation# IMG_6947.HEIC + // [{ + // "Rotation": 3, // < WTH is this? 3 means 180ยบ (!?) + // "Orientation": 6 // < expected + // }] ], useMWG: false, struct: 1,