Technology Insights

Adobe Photoshop CS4: Batch Resize Images With Photoshop

I used to use a third party application to batch resize images as a certain size is required to display properly on my personal blog. Anyhow I use Adobe Photoshop to manipulate images in many other ways and wanted to see if it would do the same batch resizing which would require one less application to be installed. Sure enough Photoshop does a great job of batch resizing images to any set sizes you prefer.

**NOTE** After writing this article I discovered a different way to resize images that is actually much easier. I wrote a new article located here describing the method which utilizes the Photoshop Image Processor.

In the example scenario below I resize images based on height and width maximum size settings. The width cannot be larger than 640 pixels and the height cannot be greater than 480 pixels. Follow the instructions below to set up a batch resize action followed by automating the batch resize of numerous images at the same time.

Technology Insights

How to Batch Resize Image from Linux Shell with ImageMagick

ImageMagick is a really cool product. Not only is it open source but its very powerful tool. My goal was to figure out how to batch resize images while keeping one side 640 pixels wide. I ended up using ImageMagick’s mogrify by issuing the command below at my CentOS shell prompt.

mogrify -resize x640 *.jpg


mogrify -resize 640 *.jpg

Depending on which side you want to be 640 pixels. If you would like for image magic to make the largest side 640 and constrain the proportions use the following command.