summaryrefslogtreecommitdiff
path: root/mkthumbs.sh
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2016-09-29 09:23:48 +0000
committerIan C <ianc@noddybox.co.uk>2016-09-29 09:23:48 +0000
commitbf71ec3e4e5003f08729b11fc89d58a8f256ac35 (patch)
tree851aaaa1bf8d3f8428db28417c40b79221f95e7c /mkthumbs.sh
parent2eedbb0079a38f02af5423e9a071cec6ee4b8c3e (diff)
Added mkthumbs script.
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