magick input.png -crop 100x100+10+10 output.png

Category: Media & Conversion

magick input.png -crop 100x100+10+10 output.png

Crop an image to a region

Crops to a 100x100 region starting 10 pixels right and 10 down from the top-left corner, using widthxheight+x+y syntax. The + offsets are measured from the top-left. Use -gravity to anchor from another corner.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.