Page 1 of 1

"-jpegtrans exif" disturbs "-resize"

Posted: Thu Jan 28, 2021 10:43 am
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" 

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

Posted: Thu Jan 28, 2021 11:39 am
by xnview
yes, jpegtrans doens't allow other operation

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

Posted: Thu Jan 28, 2021 12:27 pm
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).