Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty.
Resizing and converting images with a tiny bash script.
usage:
./resize <input folder> <factor> <format> <output folder>
Example:
./resize my_pictures/ 50 gif my_new_pictures/
PLEASE NOTE
You will need ImageMagick installed to run this script. Fore more information about ImageMagick and how to download it, please see: http://www.imagemagick.org
This script works currently only for "jpg", "png" and "gif" formats.