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.
forget EXIF orientation after edit
Moderators: helmut, XnTriq, xnview, Dreamer
Re: forget EXIF orientation after edit
Rotate it? (See my emphasis above)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.
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...
m. Th.
- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
Re: forget EXIF orientation after edit
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.
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
"Landscape" in fact means also in EXIF language "no orientation".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.
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.
m. Th.
- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
Re: forget EXIF orientation after edit
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
could you send me a sample?rmtk wrote:Not only rotation, but also adjust colors, adjust levels or almost all kinds of edit will make my portrait photo landscape.
Pierre.
Re: forget EXIF orientation after edit
already sent
Re: forget EXIF orientation after edit
Bug confirmed and will be fixed. See issue Issue 285 for current status and details.
Pierre.