From 7f631c493d04ba96e36975365532e2172fec367e Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Thu, 7 Oct 2021 21:13:14 +0200 Subject: Added dithered images --- dither-images.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 dither-images.sh (limited to 'dither-images.sh') diff --git a/dither-images.sh b/dither-images.sh new file mode 100644 index 0000000..8852ce5 --- /dev/null +++ b/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