From 7d4d2b286213c7e9de07787614670553132e182b Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Sat, 8 Jan 2022 05:32:31 +0100 Subject: Fixed paths in dither script --- Makefile | 2 +- tools/dither-images.sh | 2 +- 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: go install dither: - bash dither-images.sh + bash tools/dither-images.sh openring: 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 @@ -cd assets/ +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" -- cgit v1.2.3