aboutsummaryrefslogtreecommitdiff
path: root/docs/plot/greyscale.sh
diff options
context:
space:
mode:
authorJuernjakob Dugge <juernjakob@gmail.com>2018-08-23 23:14:06 +0200
committerJuernjakob Dugge <juernjakob@gmail.com>2018-08-27 23:47:03 +0200
commit3378c5ec96fb3f067beffc6c3acd15765d5ce5d1 (patch)
treedbcfcf7e11fa3734e073136e1770cd3858de5936 /docs/plot/greyscale.sh
parente1e7c15ef358ac516f06198c2832e7ab52e8dc20 (diff)
downloadPROJ-3378c5ec96fb3f067beffc6c3acd15765d5ce5d1.tar.gz
PROJ-3378c5ec96fb3f067beffc6c3acd15765d5ce5d1.zip
Ensure correct axis ratio for images in documentation; move proj-string from image to caption
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