Orientation and CameraOrientation

Started by nagibator, November 14, 2018, 08:49:04 AM

Previous topic - Next topic

nagibator

Currently in my app I'm working on photo's orientation handling. I've seen two properties in metadata: `Orientation and `CameraOrientation`.(Sometimes there is only `Orientation`). Are they are always the same? Can I omit `CameraOrientation`?

Phil Harvey

Orientation is standard EXIF.  CameraOrientation is a proprietary MakerNote tag used by some manufacturers.  There is also a Rotation tag written by other manufacturers.  Typically the MakerNote tags represent the orientation at the time the image was taken, but only Orientation reflects the current orientation of the image (after possible editing).

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