filesize

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

Moderators: helmut, XnTriq, xnview

Post Reply
mfeske
Posts: 42
Joined: Fri May 15, 2009 10:00 am

filesize

Post by mfeske »

Hello everybody,
I use this commandline:
%device%%nconvert% -npcd 2 -size 256x256+0 -ctype grey -corder inter -out jpeg -o %device%%tmp%wm\%%.jpg -high_res -ratio -rtype lanczos -rflag orient -wmfile "%device%%logoway%%logo%" -wmopacity 70 -wmflag top-left -wmpos %posx% %posy% %device%%in%%rotation%*.jpg

Why then is the file size smaller than before the conversion?
Before conversion 2638 KB, after 1021 KB ?


Is there a quality loss?

Greetings
Michael
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: filesize

Post by xnview »

You can change the quality with -q xx
JPEG is not a lossless format
Pierre.
mfeske
Posts: 42
Joined: Fri May 15, 2009 10:00 am

Re: filesize

Post by mfeske »

xnview wrote:You can change the quality with -q xx
JPEG is not a lossless format
Hello Pierre,
but it is from jpg to jpg only with watermark ?!
Greetings
Micha
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: filesize

Post by xnview »

mfeske wrote: but it is from jpg to jpg only with watermark ?!
Yes, but you load and save in jpeg, so there is a compress of picture data
Pierre.
Post Reply