aboutsummaryrefslogtreecommitdiff
path: root/docs/plot/greyscale.sh
diff options
context:
space:
mode:
Diffstat (limited to 'docs/plot/greyscale.sh')
-rwxr-xr-xdocs/plot/greyscale.sh10
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