mirror of
https://github.com/freedoom/freedoom.git
synced 2025-09-02 07:25:45 -04:00
Use imagemagick instead of ppmcaption.
This commit is contained in:
parent
47320dd709
commit
f2499cddcd
1 changed files with 14 additions and 8 deletions
|
@ -1,10 +1,16 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
ppmcaption base.ppm output.ppm \
|
DATE=`date +%D`
|
||||||
\
|
|
||||||
-font ncenB24.bdf -scale 0.34 -fg white -bg black \
|
convert -fill white -font Helvetica-Bold \
|
||||||
-pos 240,30 -right -text 'http://freedoom.sourceforge.net/' \
|
-pointsize 30 \
|
||||||
\
|
-gravity north \
|
||||||
-font ncenB24.bdf -scale 0.34 -fg white -bg black \
|
-draw "text 0,30 Freedoom" \
|
||||||
-pos -10,-10 -right -text 'Build Date: %a, %b %d %Y' \
|
-pointsize 11 \
|
||||||
-pos -10,-25 -right -text "Version: $VERSION"
|
-gravity southwest \
|
||||||
|
-draw "text 5,5 'http://freedoom.sourceforge.net/'" \
|
||||||
|
-gravity southeast \
|
||||||
|
-draw "text 10,25 'Version: $VERSION'" \
|
||||||
|
-draw "text 10,5 '$DATE'" \
|
||||||
|
base.ppm output.png
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue