Rotate based on EXIF

Discussions on NConvert - the command line tool for image conversion and manipulation

Moderators: XnTriq, helmut, xnview

Hacker
Posts: 242
Joined: Tue May 17, 2005 9:24 pm
Location: Bratislava, Slovakia

Rotate based on EXIF

Post by Hacker »

Hi,
Is it possible to use NConvert to rotate JPEGs (and their embedded thumbnails) based on their EXIF orientation flag (and then reset the flag, keep the timestamp and trim unused pixels - just like in the lossless rotate dialog)?

TIA
Roman
User avatar
xnview
Author of XnView
Posts: 44593
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Rotate based on EXIF

Post by xnview »

Hacker wrote:Hi,
Is it possible to use NConvert to rotate JPEGs (and their embedded thumbnails) based on their EXIF orientation flag (and then reset the flag, keep the timestamp and trim unused pixels - just like in the lossless rotate dialog)?
No, but i'll add it
Pierre.
Hacker
Posts: 242
Joined: Tue May 17, 2005 9:24 pm
Location: Bratislava, Slovakia

Post by Hacker »

:D Thanks!

Roman
mrQQ
Posts: 38
Joined: Sat Sep 03, 2005 12:55 pm

Post by mrQQ »

i can relate to this aswell - would be GREAT addition!
Guest

Post by Guest »

Is this command implemented yet? If so, what's the command line option for it?
User avatar
xnview
Author of XnView
Posts: 44593
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Post by xnview »

Anonymous wrote:Is this command implemented yet? If so, what's the command line option for it?
No not yet implemented...
Pierre.
Guest

Post by Guest »

What kind of bounty would it take to see that implemented? I'd certainly throw in some money to see that happen. Or should I write a little python script or something that would decide which way to rotate based on exif data?

Gregg L.
Guest

Post by Guest »

BTW, jhead.exe can do autorotate, so I place it in front nconvert in scripts.


Gregg Lind
User avatar
helmut
Posts: 8705
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Post by helmut »

This request is listed in the Global request and suggestion list, already. I also think that this is an important feature and recommend to implement this in the next release.
nah0y
Posts: 5
Joined: Fri Jan 27, 2017 12:20 pm

Re: Rotate based on EXIF

Post by nah0y »

Hello!

Sorry to reply on a so old thread...
Just wanted to know if this has been implemented yet? I can't find this anywhere so I guess it hasn't, but we never know :)

Thanks!
User avatar
xnview
Author of XnView
Posts: 44593
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Rotate based on EXIF

Post by xnview »

nah0y wrote: Just wanted to know if this has been implemented yet? I can't find this anywhere so I guess it hasn't, but we never know :)
yes

Code: Select all

-jpegtrans exif
Pierre.