diff options
| -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" |
