summaryrefslogtreecommitdiff
path: root/docs/convert_images.sh
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2009-12-29 02:30:32 +0000
committerChris McDonough <chrism@agendaless.com>2009-12-29 02:30:32 +0000
commite6f681fdca19490f9f7bb6274a38d0784ce3daac (patch)
treee2471376a29ef22924d8925ce8adf27deba66758 /docs/convert_images.sh
parent016a1fcd164a7389c072b9ef5c247039355bc6ec (diff)
downloadpyramid-e6f681fdca19490f9f7bb6274a38d0784ce3daac.tar.gz
pyramid-e6f681fdca19490f9f7bb6274a38d0784ce3daac.tar.bz2
pyramid-e6f681fdca19490f9f7bb6274a38d0784ce3daac.zip
Image greyscaling.
Diffstat (limited to 'docs/convert_images.sh')
-rwxr-xr-xdocs/convert_images.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/convert_images.sh b/docs/convert_images.sh
new file mode 100755
index 000000000..4ee1a119e
--- /dev/null
+++ b/docs/convert_images.sh
@@ -0,0 +1,9 @@
+TEXDIR=.build/latex
+
+for img in $TEXDIR/*.png;
+do
+ cp $img ${img}.BAK
+ convert $img -units PixelsPerInch -resample 300 -colorspace Gray ${img}.grey
+ mv ${img}.grey $img
+done
+