The coordinates I want to crop the image with size 100x100 by is 0,0 (top,left) and 639, 384 (bottom,right). When the crop is done I expect the image to be 500x300 cropped with the coordinates above. I have tried two different commands with no success.
This is the first command I have tried:
Code: Select all
convert http://imagga.com/static/images/tagging/wind-farm-538576_640.jpg -crop 500x300+0,0+639,384 +repage out.jpg

The other command I have tried looks like this:
Code: Select all
convert http://imagga.com/static/images/tagging/wind-farm-538576_640.jpg -crop 0x0+0,0+639,384 +repage -resize 500x300 out.jpg

How should the command be written to produce the correct result?
This is how the correct cropping should look
