From 9ded4986b1d58eecb7dbb38635c76865d5358fda Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Sat, 8 Jan 2022 05:31:17 +0100 Subject: Moved dither scripts under tools --- tools/dither-images.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tools/dither-images.sh (limited to 'tools/dither-images.sh') 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 @@ +cd assets/ +find . -type f \( -name "*.png" -o -name "*.jpg" \) | while read fname; do + echo "$fname" + convert "$fname" -type Grayscale -ordered-dither 2x2 "$fname.dith.gif" +done + -- cgit v1.2.3