diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2022-01-08 05:32:31 +0100 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2022-01-08 05:32:31 +0100 |
| commit | 7d4d2b286213c7e9de07787614670553132e182b (patch) | |
| tree | 58d3368455ba3b0e2142d1f470a49a2eff62278e | |
| parent | 9ded4986b1d58eecb7dbb38635c76865d5358fda (diff) | |
| download | mitjafelicijan.com-7d4d2b286213c7e9de07787614670553132e182b.tar.gz | |
Fixed paths in dither script
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | tools/dither-images.sh | 2 |
2 files changed, 2 insertions, 2 deletions
| @@ -6,7 +6,7 @@ provision: | |||
| 6 | go install | 6 | go install |
| 7 | 7 | ||
| 8 | dither: | 8 | dither: |
| 9 | bash dither-images.sh | 9 | bash tools/dither-images.sh |
| 10 | 10 | ||
| 11 | openring: | 11 | openring: |
| 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 @@ | |||
| 1 | cd assets/ | 1 | cd ../assets/ |
| 2 | find . -type f \( -name "*.png" -o -name "*.jpg" \) | while read fname; do | 2 | find . -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" |
