Quickly create thumbnails

That script creates a 300px thumbnail of a picture.

Run this script with two arguments. The first argument $1 is the input file (your original content). Use the second argument $2 as an output file (your thumbnail).

#!/bin/bash
convert $1 -gravity Center -crop 50x50%+0+0 -resize 300x -fuzz 15% +repage $2

Make sure you put the file in your $PATH.

Comments won't work at the moment

I'm sorry but the comments are offline. I'm not sure when I have fixed this issue, but I'll let you know when comments are back online.

↑ back to top