aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2022-01-08 05:32:31 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2022-01-08 05:32:31 +0100
commit7d4d2b286213c7e9de07787614670553132e182b (patch)
tree58d3368455ba3b0e2142d1f470a49a2eff62278e
parent9ded4986b1d58eecb7dbb38635c76865d5358fda (diff)
downloadmitjafelicijan.com-7d4d2b286213c7e9de07787614670553132e182b.tar.gz
Fixed paths in dither script
-rw-r--r--Makefile2
-rw-r--r--tools/dither-images.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 049c04b..b134590 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ provision:
6 go install 6 go install
7 7
8dither: 8dither:
9 bash dither-images.sh 9 bash tools/dither-images.sh
10 10
11openring: 11openring:
12 openring -l 165 -n 4 -p 1 \ 12 openring -l 165 -n 4 -p 1 \
diff --git a/tools/dither-images.sh b/tools/dither-images.sh
index 8852ce5..11d0c04 100644
--- a/tools/dither-images.sh
+++ b/tools/dither-images.sh
@@ -1,4 +1,4 @@
1cd assets/ 1cd ../assets/
2find . -type f \( -name "*.png" -o -name "*.jpg" \) | while read fname; do 2find . -type f \( -name "*.png" -o -name "*.jpg" \) | while read fname; do
3 echo "$fname" 3 echo "$fname"
4 convert "$fname" -type Grayscale -ordered-dither 2x2 "$fname.dith.gif" 4 convert "$fname" -type Grayscale -ordered-dither 2x2 "$fname.dith.gif"