emote shell scripts
[dotfiles.git] / Scripts / emote_format
diff --git a/Scripts/emote_format b/Scripts/emote_format
new file mode 100755 (executable)
index 0000000..6945e36
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+# format images to be discord size
+
+mv "$1" "$1_temp" && \
+    ffmpeg -i "$1_temp" -vf scale=48:-1 "$1" && \
+    rm "$1_temp"