img crop

Crops an image, either to a square or a circle. By default it will use the largest size possible; that is, if the image is wider than tall it will use the height, and vice versa.

--square
Crop to a square (default)
--circle
Crop to a circle
--size <pixels>
Size to crop to.
--centre
Centre the image
--top
Centre the image to the top of the frame
--top-right
Centre the image to the top-right of the frame
--right
Centre the image to the right of the frame
--bottom-right
Centre the image to the bottom-right of the frame
--bottom
Centre the image to the bottom of the frame
--bottom-left
Centre the image to the bottom-left of the frame
--left
Centre the image to the left of the frame
--top-left
Centre the image to the top-left of the frame