Page 1 of 1

Rotate several pictures

Posted: Wed Nov 19, 2008 10:45 pm
by ngocPower
Hi guys,

I would like to resize and rotate from Exif on my pictures.

I do it by xnview and when i record by a script, i obtain this

Code: Select all

"C:\Program Files\XnView\nconvert.exe" -npcd 2 -size 256x256+0 -ctype grey -corder inter -out jpeg -o D:\test\%%.jpg -ratio -rtype lanczos -rflag orient -resize 800 600 "D:\source\P1000058.jpg" "D:\source\P1000059.jpg" "D:\source\P1000060.jpg"
The operation is ok, my pictures are resized et rotated.

When i try to execute directly this script, the resize is ok but not rotate :S

Any suggestions?

I have nconvert v5.10

Thanks for help,

Posted: Wed Nov 19, 2008 10:53 pm
by ngocPower
Further details:

When i selected pictures in Xnview. The pictures are already rotate.

Re: Rotate several pictures

Posted: Mon Dec 15, 2008 10:19 am
by xnview
Strange in your script, there is no -rotate...

Re: Rotate several pictures

Posted: Sat Apr 21, 2012 3:40 pm
by u0206397
I suspect the TS may need to run nconvert -jpegtrans exif separately to rotate images based on EXIF data. Resizing can be done before or after this rotation. See: http://newsgroup.xnview.com/viewtopic.p ... 63#p102608