aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"