Page 1 of 1

Rotate image on Exif-rotation

Posted: Thu Nov 08, 2018 10:44 am
by r.zegwaard
Hi,

I need to rotate incomming jpg-images based on here exif rotation setting.
So if an landscape-image comes in with a exif-rotation set to 90degrees, the image becomes portrait.

Any suggestions?

Robert

Re: Rotate image on Exif-rotation

Posted: Thu Nov 08, 2018 1:31 pm
by Padawan
I haven't tried it myself, but I think the auto-orient option of imagemagick should be able to do this:
https://www.imagemagick.org/script/comm ... uto-orient

You can automate imagemagick via the execute command tool.

I think these settings for the execute command should do it:
- Command or path: Path tot the convert.exe of imagemagick
- Arguments: "%1" -auto-orient "%2"
- Output: "File at path"
All other options default.