Rotate image on Exif-rotation

Post Reply
r.zegwaard
Member
Posts: 93
Joined: Fri Jul 08, 2011 10:31 am
Location: The Netherlands

Rotate image on Exif-rotation

Post 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
Padawan
Advanced member
Posts: 358
Joined: Mon Jun 12, 2017 8:48 pm
Location: Belgium
Contact:

Re: Rotate image on Exif-rotation

Post 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.
Post Reply