Page 1 of 1

cut off parts of image

Posted: 2007-12-16T03:32:32-07:00
by maceis
Hello together,

how can I cut of parts of an image but only from some edges
e.g. I have images and I want to cut of 5 px from the right and 5 px from the bottom of the images.

Thanks in advance
maceis

Edit: I found out right after posting my question.
Sorry.
If anyone finds this posting
"convert image.jpg -crop 400x300+0+0" will cut off anything larger then 400x300. The upper left corner is defined with +0+0 so nothing will be cut of from the top or right side of the image.

Re: cut off parts of image

Posted: 2007-12-17T00:15:38-07:00
by anthony
There is also -chop to specifically chop 5 pixels from any edge (or any row or column) regardless of how big an image is. See IM examples, Cutting and Bordering