summaryrefslogtreecommitdiff
path: root/mkthumbs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mkthumbs.sh')
-rwxr-xr-xmkthumbs.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/mkthumbs.sh b/mkthumbs.sh
new file mode 100755
index 0000000..265a935
--- /dev/null
+++ b/mkthumbs.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+for i in $* ; do
+ convert $i -auto-orient -strip $i.jpg
+ convert $i.jpg -resize 300x300 $i.gif
+ rm $i.jpg
+done