ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/arch/dev/xpmtopng
Revision: 1.1
Committed: Mon Feb 6 20:26:07 2006 UTC (18 years, 4 months ago) by root
Branch point for: UPSTREAM, MAIN
Log Message:
Initial revision

File Contents

# Content
1 #!/bin/csh
2
3 echo converting $1 from a 24x24 image to a centered 32x32 image.
4
5
6 convert -bordercolor \#123456 -border 4x4 $1 /tmp/$1
7 cat /tmp/$1 | sed "s/c None/c #123456/" | xpmtoppm | pnmtopng -transparent "#123456" > `basename $1 .xpm`.png
8
9