summaryrefslogtreecommitdiff
path: root/bin/fuze-img
diff options
context:
space:
mode:
Diffstat (limited to 'bin/fuze-img')
-rwxr-xr-xbin/fuze-img8
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/fuze-img b/bin/fuze-img
new file mode 100755
index 0000000..da91b60
--- /dev/null
+++ b/bin/fuze-img
@@ -0,0 +1,8 @@
+#!/bin/sh
+## Copyright © 2010 by Daniel Friesel <derf@derf.homelinux.org>
+## License: WTFPL <http://sam.zoy.org/wtfpl>
+
+INPUT="${1}"
+OUTPUT="/tmp/fuze/$(basename ${1}).jpg"
+
+convert -resize 220x176 -quality 100 "${INPUT}" "${OUTPUT}"