aboutsummaryrefslogtreecommitdiff
path: root/dither-images.sh
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2021-10-07 21:13:14 +0200
committerMitja Felicijan <mitja.felicijan@gmail.com>2021-10-07 21:13:14 +0200
commit7f631c493d04ba96e36975365532e2172fec367e (patch)
treefc0c0f81901f77f44c572536b7388babaf2d98ee /dither-images.sh
parent994c67d522b413fb3184376955a43d4a4f50d716 (diff)
downloadmitjafelicijan.com-7f631c493d04ba96e36975365532e2172fec367e.tar.gz
Added dithered images
Diffstat (limited to 'dither-images.sh')
-rw-r--r--dither-images.sh6
1 files changed, 6 insertions, 0 deletions
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 @@
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