Mercurial > mamba
comparison scripts/make_pngs.sh @ 87:c26e36295901
colours for overlaying with multiply
author | Adrianna Pińska <adrianna.pinska@gmail.com> |
---|---|
date | Sun, 11 Sep 2011 18:54:20 +0200 |
parents | b88d5cd79fa7 |
children | ed69e9f5ffaf |
comparison
equal
deleted
inserted
replaced
86:f894666defc7 | 87:c26e36295901 |
---|---|
2 | 2 |
3 tilesize=20 | 3 tilesize=20 |
4 svgdir=source/svg | 4 svgdir=source/svg |
5 pngdir=data/tiles | 5 pngdir=data/tiles |
6 | 6 |
7 for subdir in common/snake lab | 7 for subdir in common common/snake lab |
8 do | 8 do |
9 for x in $svgdir/$subdir/*.svg | 9 for x in $svgdir/$subdir/*.svg |
10 do | 10 do |
11 filename=`basename $x` | 11 filename=`basename $x` |
12 filepath=$pngdir/$subdir/${filename/svg/png} | 12 filepath=$pngdir/$subdir/${filename/svg/png} |