Posted: 2005-10-12T09:34:48-07:00
Use the convert program with the -crop option to extract a region of an image and save it to another file. Use the -extract option if your input image is in a raw format (e.g. RGB).
Use https://github.com/ImageMagick/ImageMagick/discussions instead.
https://imagemagick.com/discourse-server/
https://imagemagick.com/discourse-server/viewtopic.php?t=5048