aboutsummaryrefslogtreecommitdiff
path: root/externals/gridflow/doc/images/crop_icons
blob: 4aa06499776e9619493e14a8f2297c10d912a784 (plain)
1
2
3
4
5
6
7
8
9
10
11
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