"-jpegtrans exif" disturbs "-resize"

Discussions on NConvert - the command line tool for image conversion and manipulation

Moderators: XnTriq, helmut, xnview

Post Reply
User avatar
Peter2
XnThusiast
Posts: 1328
Joined: Thu Nov 24, 2005 3:07 pm
Location: CH

"-jpegtrans exif" disturbs "-resize"

Post by Peter2 »

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" 
XnViewMP 1.6.5 German, XnConvert 1.99, Win 10
User avatar
xnview
Author of XnView
Posts: 43328
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: "-jpegtrans exif" disturbs "-resize"

Post by xnview »

yes, jpegtrans doens't allow other operation
Pierre.
User avatar
Peter2
XnThusiast
Posts: 1328
Joined: Thu Nov 24, 2005 3:07 pm
Location: CH

Re: "-jpegtrans exif" disturbs "-resize"

Post by Peter2 »

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).
XnViewMP 1.6.5 German, XnConvert 1.99, Win 10
Post Reply