ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/www/drawbanner
Revision: 1.1
Committed: Sun Sep 16 15:23:41 2007 UTC (16 years, 10 months ago) by root
Branch: MAIN
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 root 1.1 #!/bin/bash
2    
3     TEXT="$1"
4     HEIGHT="$2"
5    
6     : ${HEIGHT:=22}
7    
8     convert \
9     -size 1000x200 xc:none -font El_Abogado_Loco.ttf \
10     -pointsize "$HEIGHT" -channel RGBA \
11     -fill black \
12     -stroke black -strokewidth 8 -annotate +25+65 "$TEXT" -blur 0x1.5 \
13     -fill gold -stroke none -annotate +25+65 "$TEXT" \
14     -trim +repage \
15     x.png
16