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 web development

Do you need DevOps-experts?

Your development team has a full backlog? No time for infrastructure architecture? Our DevOps team is ready to support you!

  • We build reliable cloud solutions with Infrastructure as code
  • We are experts in security, Linux and databases
  • We support your dev team to perform
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)