Imagemagick Resize

Share on:

A quick tutorial on using Imagemagick to resize images. Imagemagick provides a couple of options that are worth considering.

  • Resize with constraints (i.e. maintain the aspect ratio)
  • Resize without constraints

Intelligent Resize

  1. Resize an image and adhere to the aspect ratio of the original image
1convert old.png -resize 700x700  new.png

Simple Resize

In this example explicitly set the size of the image to 700x700.

  1. Resize an image and ignore the aspect ratio of the original image
1convert old.png -resize 700x700!  new.png