May 01, 2021 • 1 min read
Imagemagick Resize
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
- Resize an image and adhere to the aspect ratio of the original image
convert old.png -resize 700x700 new.pngSimple Resize
In this example explicitly set the size of the image to 700x700.
- Resize an image and ignore the aspect ratio of the original image
convert old.png -resize 700x700! new.png