Discussions on NConvert - the command line tool for image conversion and manipulation
Moderators: XnTriq , helmut , xnview
Peter2
XnThusiast
Posts: 1314 Joined: Thu Nov 24, 2005 3:07 pm
Location: CH
Post
by Peter2 » Thu Jan 28, 2021 10:43 am
I have a command with uses "-resize" and "-rotate" (and some more), and it seems that "-jpegtrans exif" disturbs "-resize". When I use a simple "-rotate", then the resizing works fine.
No resizing:
Code: Select all
nconvert.exe" -keepfiledate -q 100 -out jpeg -ratio -rtype lanczos -rflag decr -resize longest 2000 -jpegtrans exif -iptc_set 80 "8" -iptc_set 90 "7" -iptc_set 116 "test" -iptc_set 120 "alt" -o "c:\tempg\2000_20120507_002.jpg" "D:\xxx\foto\x\IMG_3259.JPG"
Resizing OK:
Code: Select all
nconvert.exe" -keepfiledate -q 100 -out jpeg -ratio -rtype lanczos -rflag decr -resize longest 2000 -iptc_set 80 "8" -iptc_set 90 "7" -iptc_set 116 "test" -iptc_set 120 "6" -o "c:\tempg\end_20120507_001.jpg" "D:\xxx\foto\x\IMG_3259.JPG"
nconvert.exe" -keepfiledate -q 100 -out jpeg -ratio -rtype lanczos -rflag decr -resize longest 2000 -rotate 270 -iptc_set 80 "8" -iptc_set 90 "7" -iptc_set 116 "test" -iptc_set 120 "6" -o "c:\tempg\end_20120507_002.jpg" "D:\xxx\foto\x\IMG_3260.JPG"
XnView 2.51.0 German, XnConvert 1.95, Win 10
xnview
Author of XnView
Posts: 41796 Joined: Mon Oct 13, 2003 7:31 am
Location: France
Post
by xnview » Thu Jan 28, 2021 11:39 am
yes, jpegtrans doens't allow other operation
Pierre.
Peter2
XnThusiast
Posts: 1314 Joined: Thu Nov 24, 2005 3:07 pm
Location: CH
Post
by Peter2 » Thu Jan 28, 2021 12:27 pm
xnview wrote: ↑ Thu Jan 28, 2021 11:39 am
yes, jpegtrans doens't allow other operation
Thanks for answer, Pierre.
Please add this to the documentation (or to program message output).
XnView 2.51.0 German, XnConvert 1.95, Win 10