Last Updated: February 25, 2016
·
301
· diegen

Batch Resize Images on the Command Line with ImageMagick

If you have access to a command line and ImageMagick on your system, this incredibly useful one-liner renders Photoshop or any other bloated image processor basically redundant:

mogrify -resize 1920x1440 *.jpg

This will resize all .jpg files in your current folder to said dimensions. There's lots of other options to be found but basically this lets you quickly resize images that are too large for an upload oder generate thumbnails in case you don't have access to a script that does that for you.