Page 1 of 1

crop question

Posted: 2011-08-07T00:47:56-07:00
by liizii
i have a image a.png, the size is 1109 x 847.
and i crop it to a new image: convert a.png -crop 847x847+97+0 b.png, the b.png size is 847 x 847
now i crop b.png to a new image again: convert b.png -crop 200x200+50+50 c.png

now the image c.png size is 153 x 200,

why?

why c.png size is not 200 x 200, but 153 x 200.

Re: crop question

Posted: 2011-08-07T01:40:48-07:00
by Bonzo
Try adding a +repage ( comment by fmw42 on another thread ):

Code: Select all

convert a.png -crop 847x847+97+0 +repage b.png
convert b.png -crop 200x200+50+50 +repage c.png

Re: crop question

Posted: 2011-08-07T05:51:10-07:00
by liizii
fixed
thanks.