Crop then resize?

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

Moderators: XnTriq, helmut, xnview

sunnydavis
Posts: 2
Joined: Wed Mar 22, 2023 10:54 am

Crop then resize?

Post by sunnydavis »

Hi,

I'd like to execute 2 tasks, first crop the image, then resize it, in this order. Is it possible to do this in one command? Thanks in advance!
User avatar
xnview
Author of XnView
Posts: 43613
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Crop then resize?

Post by xnview »

yes, -crop x y w h -resize w h
Pierre.
sunnydavis
Posts: 2
Joined: Wed Mar 22, 2023 10:54 am

Re: Crop then resize?

Post by sunnydavis »

xnview wrote: Wed Mar 22, 2023 2:59 pm yes, -crop x y w h -resize w h
It works, thanks!