aboutsummaryrefslogtreecommitdiff
path: root/externals/gridflow/doc/images
diff options
context:
space:
mode:
Diffstat (limited to 'externals/gridflow/doc/images')
-rw-r--r--externals/gridflow/doc/images/crop_icons12
1 files changed, 12 insertions, 0 deletions
diff --git a/externals/gridflow/doc/images/crop_icons b/externals/gridflow/doc/images/crop_icons
new file mode 100644
index 00000000..4aa06499
--- /dev/null
+++ b/externals/gridflow/doc/images/crop_icons
@@ -0,0 +1,12 @@
+if [ "z$1" = "zall" ]; then
+ foo="\@*.png format*.png"
+else
+ foo="$1"
+fi
+
+for z in $foo; do \
+ echo $z
+ pngtopnm $z | pnmcrop | pnmtopng -background black -transparent =red -compress 9 > $z.new
+ mv $z.new $z
+done
+