Skip to content

Commit

Permalink
Just Say No To -Rotation#
Browse files Browse the repository at this point in the history
  • Loading branch information
mceachen committed Jun 14, 2024
1 parent c7b72d6 commit 87ebf75
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/DefaultExifToolOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 87ebf75

Please sign in to comment.