Batch rotation (EXIF) doesn't always work

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: helmut, XnTriq, xnview

afloom
Posts: 11
Joined: Fri Dec 12, 2008 8:11 pm

Batch rotation (EXIF) doesn't always work

Post by afloom »

After updating from 1.93.x to 1.95.4 I'm having some issues when rotating several images at once. The rotation is on the EXIF orientation metadata.
This worked with very well in 1.93, but now in 1.95.4 it doesn't. If I rotate the images one by one there is no problem. But if I select, for instance, three images and doing it, two will be rotated and one will not (for instance). The one that didn't rotate is then not possible to rotate by itself.
It's weird, because I can then trick the program to rotate by copying that image and selecting those two images and repeatedly clicking the rotate icon and eventually the image will rotate (like after trying 10, 15 times).

It's even more weird that I only get this behavior with my pictures taken with my Konica Minolta camera and not with those taken with my Canon IXUS 50.

If you'd like, I could send you some examples of problematic pictures. Please provide me with a private mail address in that case.

Thanks,
/Anders
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Batch rotation (EXIF) doesn't always work

Post by xnview »

Strange problem, could you send me a picture that xnview can't rotate
Pierre.
afloom
Posts: 11
Joined: Fri Dec 12, 2008 8:11 pm

Re: Batch rotation (EXIF) doesn't always work

Post by afloom »

xnview wrote:Strange problem, could you send me a picture that xnview can't rotate
Sure, please send me a private message with your email address!

/Anders
User avatar
helmut
Posts: 8704
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Post by helmut »

Perhaps it's just the thumbnails which have not been updated properly. Please try "View > Rebuild thumbnails".

FAQ How to rotate images automatically also provides helpful info in the area of automatic rotation and trouble shooting.
afloom
Posts: 11
Joined: Fri Dec 12, 2008 8:11 pm

Post by afloom »

helmut wrote:Perhaps it's just the thumbnails which have not been updated properly.
No, I compare the files (binary wise) with the originals and the orientation settings hasn't changed.
Well, to be clear, in a batch, some pictures are rotated ok while some are not. I have four pictures for you to try.

I've also tried removing the ini file and starting "fresh", but no difference.

/A
Dreamer
XnThusiast
Posts: 4608
Joined: Sun Jul 25, 2004 9:08 pm

Re: Batch rotation (EXIF) doesn't always work

Post by Dreamer »

afloom wrote:Sure, please send me a private message with your email address!

/Anders
FAQ - How to contact the author
Dreamer
afloom
Posts: 11
Joined: Fri Dec 12, 2008 8:11 pm

Re: Batch rotation (EXIF) doesn't always work

Post by afloom »

Pictures sent to you, but I get a message that you mail quota is exceeded.

/Anders
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Batch rotation (EXIF) doesn't always work

Post by xnview »

I've received 3 picture files.
Which setting do you use for rotation? (change only exif orientation??)
Pierre.
afloom
Posts: 11
Joined: Fri Dec 12, 2008 8:11 pm

Re: Batch rotation (EXIF) doesn't always work

Post by afloom »

xnview wrote:Which setting do you use for rotation? (change only exif orientation??)
Yes.
If you'd like (if you can't reproduce) I can send you my ini file tonight. I don't have xnview here at the office but at home.
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Batch rotation (EXIF) doesn't always work

Post by xnview »

afloom wrote:
xnview wrote:Which setting do you use for rotation? (change only exif orientation??)
Yes.
If you'd like (if you can't reproduce) I can send you my ini file tonight. I don't have xnview here at the office but at home.
I've tried with your 3 files, and all works
Pierre.
afloom
Posts: 11
Joined: Fri Dec 12, 2008 8:11 pm

Re: Batch rotation (EXIF) doesn't always work

Post by afloom »

xnview wrote:I've tried with your 3 files, and all works
I tried a fresh (zip) copy of XnView and I still have this issue.
However, I discovered something funny. The picture that isn't rotated
get its attributes changed from "A" to "RSAO" (and it gets a different
icon in the Windows explorer). Not sure what all of the attributes mean, but it does become read-only. Very strange...
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Batch rotation (EXIF) doesn't always work

Post by xnview »

afloom wrote:
xnview wrote:I've tried with your 3 files, and all works
I tried a fresh (zip) copy of XnView and I still have this issue.
However, I discovered something funny. The picture that isn't rotated
get its attributes changed from "A" to "RSAO" (and it gets a different
icon in the Windows explorer). Not sure what all of the attributes mean, but it does become read-only. Very strange...
Do you have tried with the 3 files that you have sent??
Pierre.
afloom
Posts: 11
Joined: Fri Dec 12, 2008 8:11 pm

Re: Batch rotation (EXIF) doesn't always work

Post by afloom »

xnview wrote:Do you have tried with the 3 files that you have sent??
Yes, I did that. On the very first try it worked. All three were rotated. But when trying again (fresh set of the three pics) only one or two of them were rotated.

I take it you can't reproduce?
User avatar
helmut
Posts: 8704
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Post by helmut »

File attributes that are changed? Hmm. Perhaps a file related service runs in the background and interferes with XnView's batch conversion? What's the file extension of your image files (*.jpg)? Does the problem also occur on a separate computer? (Just some questions that might help to solve the problem.)

Note:
Command "attrib /?" will show a short help on the command including legend for the letters.
afloom
Posts: 11
Joined: Fri Dec 12, 2008 8:11 pm

Post by afloom »

helmut wrote:File attributes that are changed? Hmm. Perhaps a file related service runs in the background and interferes with XnView's batch conversion? What's the file extension of your image files (*.jpg)? Does the problem also occur on a separate computer? (Just some questions that might help to solve the problem.)

Note:
Command "attrib /?" will show a short help on the command including legend for the letters.
Yes, they are jpg files. I've created the problem on another (Windows XP) computer. Possibly it could be some service interfering, but I don't think it's very likely. The two computers are quite different configured (different anti-virus, etc.).

Executing "attrib /?" I don't get any explaination for the 'O' attribute. What's that?

You can't reproduce? When reproducing (on a computer that has never had XnView installed before) I downloaded the XnView-win.zip file. Then I selected "Change EXIF orientation when possible" and un-selected "Use Lossless rotation when possible". On the very first run on the tree pictures (in a batch) it worked; all three were rotated. When then when trying on a fresh set of the three pictures it didn't (only one was rotated). The ones that were not rotated got the attributes RSAO.

Is it possible to get the zip for XnView 1.93.x to test. I believe it worked with that version and would like to verify. If it does, something in XnVIew must have changed.

/Anders
Post Reply