aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/dither-images.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/dither-images.sh b/tools/dither-images.sh
new file mode 100644
index 0000000..8852ce5
--- /dev/null
+++ b/tools/dither-images.sh
@@ -0,0 +1,6 @@
1cd assets/
2find . -type f \( -name "*.png" -o -name "*.jpg" \) | while read fname; do
3 echo "$fname"
4 convert "$fname" -type Grayscale -ordered-dither 2x2 "$fname.dith.gif"
5done
6