Page 1 of 1

convert -extract example [SOLVED]

Posted: 2008-01-08T02:47:37-07:00
by ZiTAL
Hi, I'm trying to extract a part of image, i'm trying with this command:

Code: Select all

convert -extract 112x122+77+77 input.jpg output.jpg
to extract 112x122 rectangle in x 77 and y 77 position, but the image generated is the same as original.

I'm looking examples in internet but i don't find anything.

Thanks for all.

Re: convert -extract example

Posted: 2008-01-08T05:38:13-07:00
by Bonzo
Try:

Code: Select all

convert input.jpg -crop 112x122+77+77 output.jpg

Re: convert -extract example

Posted: 2008-01-09T04:13:54-07:00
by ZiTAL
It works, thanks ;)