Batch image resize script for bash/automator

Handy bash script to resize and replace images passed as arguments. Change w and h for your own requirements. If imagemagick is installed, it will use mogrify command or else it will fall back to sips.

The resize keeps the aspect ratio and pads with white to fill the new dimensions.

Tagged with: , ,
Posted in Blog, Develop