News:

2023-03-15 Major improvements to the new Geolocation feature

Main Menu

Base64 Orientation

Started by Przemek, July 07, 2021, 06:44:39 AM

Previous topic - Next topic

Przemek

Outcome of
exiftool -preview:JpgFromRaw nikon_d850.nef -b -json -w outcome.json
produces JSON file with contains
[{
  "SourceFile": "nikon_d850.nef",
  "JpgFromRaw": "base64:/9j/2wCEAAQGBgcGBQgHBwcJCQgKDB...."
}]

But in case where Orientation has to be adjusted there is no way to act on it ahead of generation of the base64 rotated in correct way.

Is there a way to adjust orientation ahead of base64 generation?

Phil Harvey

I can't think of a way to modify the JpgFromRaw before the JSON is generated.

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

Przemek

Thanks Phil that was my assumption as well just wanted to confirm.