Resize but don't inflate

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

Moderators: helmut, XnTriq, xnview

Post Reply
adam
Posts: 3
Joined: Wed Aug 26, 2009 9:48 am

Resize but don't inflate

Post by adam »

Hi,

I like using your tool and am using it on batches of images. The commands I am currently running are similar to:

Code: Select all

-out jpeg -ratio -resize 400 300 -o myOut.jpg myIn.png
Is there an option I can add to this to prevent it from inflating the image? For example if the input is of size 200x150, I would like nconvert to just convert it to JPG and not expand it. Is this possible?

Thanks in advance,
Adam
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Resize but don't inflate

Post by xnview »

-rflag decr
Pierre.
adam
Posts: 3
Joined: Wed Aug 26, 2009 9:48 am

Re: Resize but don't inflate

Post by adam »

Thank you very much!

Your help is much appreciated.
Post Reply