- Download Karl02's suite of test images (exif-orientation-testimages-v2.rar).
- Extract F2_5.jpg (EXIF orientation: 5 = left/top).
- Remove the write protection attribute from F2_5.jpg.
- Make a copy of F2_5.jpg.
- Rename F2_5.jpg to cmd_rotate90.jpg,
and Copy of F2_5.jpg to cmd_lrotate90.jpg. - Start XnViewMP.
- Make sure the following settings are activated:
- General » File operations » Keep original date/time
- Lossless transformations
- Browser » Misc. » Rotation
- Change EXIF orientation ONLY (if possible)
- Use lossless rotation (if possible)
- General » File operations » Keep original date/time
- Select the thumbnail of cmd_lrotate90.jpg in the browser and hit Ctrl+Shift+R (= cmd_lrotate90).
- Warning message: “JPEG lossless operation will modify original file(s), and may remove some unused pixels (width and height must be multiple of 8 pixels)! Do you want to continue?”
- The image is rotated 90° clockwise.
- The dimensions are changed from W255×H239 to W224×H255.
- The EXIF orientation flag is reset to 1 (top/left).
- The file's timestamp remains the same.
- Select the thumbnail of cmd_rotate90.jpg in the browser and click the Rotate clockwise (= cmd_rotate) button on the main toolbar.
- No changes are made to the file
Expected behavior: Steps 8a through 8e
- No changes are made to the file
"cmd_rotate" & "Change EXIF orientation ONLY"
Moderators: helmut, XnTriq, xnview, Dreamer
"cmd_rotate" & "Change EXIF orientation ONLY"
Copied from “Question to various rotate”:
Re: "cmd_rotate" & "Change EXIF orientation ONLY"
This problem is supposed to be fixed in v0.82 or later. Could you please check and confirm, XnTriq?
Re: "cmd_rotate" & "Change EXIF orientation ONLY"
Configuration:
- Tools → Settings... → Browser → Misc. → Rotation
- [×] Change EXIF orientation ONLY (if possible)
[×] Use lossless rotation (if possible)
- [×] Change EXIF orientation ONLY (if possible)
- F2_1.jpg from Karl02's suite of test images
Code: Select all
{Width}: 239 pixels {Height}: 255 pixels {EXIF:Orientation}: top-left (1) {Size B}: 9'521 bytes
- cmd_rotate90 (Toolbar → Rotate clockwise)
Code: Select all
{Width}: 255 pixels {Height}: 239 pixels {EXIF:Orientation}: right-top (6) {Size B}: 9'521 bytes
- cmd_lrotate90 (Tools → JPEG lossless transformations → Rotate clockwise)
Code: Select all
{Width}: 240 pixels {Height}: 239 pixels {EXIF:Orientation}: top-left (1) {Size B}: 9'249 bytes
Re: "cmd_rotate" & "Change EXIF orientation ONLY"
For comparison:
- F2_1.jpg rotated 90° CW with Guido Vollbeding's Jpegcrop v2015.12
[×] Transform Trim Edges (= Drop non-transformable edge blocks = Discard partial MCUs)Code: Select all
{Width}: 240 pixels {Height}: 239 pixels {EXIF:Orientation}: top-left (1) {Size B}: 9'249 bytes
Re: "cmd_rotate" & "Change EXIF orientation ONLY"
Thank you for your testing, XnTriq. The problem is fixed, right?
Re: "cmd_rotate" & "Change EXIF orientation ONLY"
Yes, confirmed fixedhelmut wrote:Thank you for your testing, XnTriq. The problem is fixed, right?

