v1.82.2 Batch rotate problem

Ask for help and post your question on how to use XnView Classic.

Moderators: helmut, XnTriq, xnview

Post Reply
tz

v1.82.2 Batch rotate problem

Post by tz »

The problem is as follows. I'll describe it in a few steps:

1. in XnView browser select image(s) which you want to "batch rotate"
2. on the menu select Tools -> Batch Rotate...
3. then on Transformations tab add "Rotate" action
4. "Parameter's slider" set, for example, to -90 (i suppose that units are degrees), if you want to rotate image(s) in counter clockwise direction.
(BTW. if you manually write the angle (-90) nothing happens i.e. there is no rotation)
5. of course, finally, click "Go" button

RESULT: Picture(s) is/are not rotated for -90 degrees, but from my calculation by equations which I derived based on the width and height of original (w1,h1) and rotated picture (w2,h2); rotation angle rho is about -19.757 deg.
marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Post by marsh »

Confirmed. And with -45 degrees, export script uses "-rotate 6508" instead of something like "-rotate -45".
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: v1.82.2 Batch rotate problem

Post by xnview »

tz wrote:The problem is as follows. I'll describe it in a few steps:

1. in XnView browser select image(s) which you want to "batch rotate"
2. on the menu select Tools -> Batch Rotate...
3. then on Transformations tab add "Rotate" action
4. "Parameter's slider" set, for example, to -90 (i suppose that units are degrees), if you want to rotate image(s) in counter clockwise direction.
(BTW. if you manually write the angle (-90) nothing happens i.e. there is no rotation)
5. of course, finally, click "Go" button

RESULT: Picture(s) is/are not rotated for -90 degrees, but from my calculation by equations which I derived based on the width and height of original (w1,h1) and rotated picture (w2,h2); rotation angle rho is about -19.757 deg.
Right, i'll fix it
Pierre.
tz

Post by tz »

merci! :)
Post Reply