Read more

ImageMagick: Cropping images

Thomas Klemm
January 19, 2015Software engineer

ImageMagick takes a string with several options when cropping an image. See the command line options for how to provide the expected image geometry Show archive.org snapshot for details.

Illustration UI/UX Design

UI/UX Design by makandra brand

We make sure that your target audience has the best possible experience with your digital product. You get:

  • Design tailored to your audience
  • Proven processes customized to your needs
  • An expert team of experienced designers
Read more Show archive.org snapshot

Note that ImageMagick tends to preserve the original aspect ratio of the source image automatically.

Examples:

  • crop 200x200 means Maximum values of height and width given, aspect ratio preserved.
  • crop 200x200! means Width and height emphatically given, original aspect ratio ignored.
Posted by Thomas Klemm to makandra dev (2015-01-19 11:39)