Page 1 of 1

forget EXIF orientation after edit

Posted: Thu Feb 27, 2014 1:12 pm
by rmtk
My Olympus E-PL5 camera stores photo orientation information in EXIF data. Xnview MP can correctly set the orientation as I checked the "rotate images according to EXIF orientation tag".

However if I try to edit and save a portrait photo, rotate it for example, XnviewMP will forget the orientation info and set it to landscape. It is annoying to do a manual rotate every time.

Hope a fix in the next version.

Re: forget EXIF orientation after edit

Posted: Thu Feb 27, 2014 3:21 pm
by m.Th.
However if I try to edit and save a portrait photo, rotate it for example, XnviewMP will forget the orientation info and set it to landscape. It is annoying to do a manual rotate every time.
Rotate it? (See my emphasis above)
Then isn't normal to change the orientation?

Also, I don't think what Pierre does inside but usually such programs have the following workflow:

1. Load the file myFile.jpg into memory image
2. Process the memory image
3. Save the memory image to TmpFile.jpg
4. If Step 3 succeeded, then:
4.a. Delete myFile.jpg
4.b. Rename TmpFile.jpg to myFile.jpg

Hence, most probably, the EXIF info is/can be lost in processing.

Anyway an Aperture of F/2.8 with a Shutter Speed of 1/60 at a ISO 800 (and many other EXIF values) becomes meaningless if one alters Brightness/Contrast/Hue/Saturation/Lightness/Gamma whatever...

Re: forget EXIF orientation after edit

Posted: Thu Feb 27, 2014 4:09 pm
by rmtk
Oh, sorry for my ambiguous discription.
I mean to rotate at an angle, 1° or 2°, not 90° right or 90° left.
After the rotation and saving the photo still appears to be portrait, but if you close and reopen it you would find its orientation now landscape.

Re: forget EXIF orientation after edit

Posted: Thu Feb 27, 2014 4:25 pm
by m.Th.
rmtk wrote:Oh, sorry for my ambiguous discription.
I mean to rotate at an angle, 1° or 2°, not 90° right or 90° left.
After the rotation and saving the photo still appears to be portrait, but if you close and reopen it you would find its orientation now landscape.
"Landscape" in fact means also in EXIF language "no orientation".

I'm pretty sure that there isn't code inside of XnViewMP (and in any other program for that matter) to check if the rotation angle is between -45 and 45 degrees or to check... ...what? The width / height ratio? Perhaps... and set the EXIF tag accordingly.

Re: forget EXIF orientation after edit

Posted: Thu Feb 27, 2014 4:47 pm
by rmtk
Not only rotation, but also adjust colors, adjust levels or almost all kinds of edit will make my portrait photo landscape.

Re: forget EXIF orientation after edit

Posted: Fri Feb 28, 2014 11:09 am
by xnview
rmtk wrote:Not only rotation, but also adjust colors, adjust levels or almost all kinds of edit will make my portrait photo landscape.
could you send me a sample?

Re: forget EXIF orientation after edit

Posted: Sun Mar 02, 2014 11:16 am
by rmtk
already sent

Re: forget EXIF orientation after edit

Posted: Mon Mar 03, 2014 2:03 pm
by xnview
Bug confirmed and will be fixed. See issue Issue 285 for current status and details.