diff options
Diffstat (limited to 'docs/plot/greyscale.sh')
| -rwxr-xr-x | docs/plot/greyscale.sh | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/docs/plot/greyscale.sh b/docs/plot/greyscale.sh index 7a6e9b38..4ae861e9 100755 --- a/docs/plot/greyscale.sh +++ b/docs/plot/greyscale.sh @@ -1,7 +1,3 @@ - - -for f in $(ls *.png) -do - - convert $f -fx '(r+g+b)/3' -colorspace Gray $f -done; +# Use Imagemagick to convert all images to grayscale, +# printing progress information +mogrify -monitor -colorspace Gray *.png |
