Add a command for tyson demo thumbnails. This really should be improved in some way.
This commit is contained in:
parent
6e5b02d2b5
commit
b3f408d484
1 changed files with 9 additions and 0 deletions
9
dcc
9
dcc
|
@ -56,6 +56,15 @@ case $1 in
|
||||||
label:"${LABEL}" -stroke none -strokewidth 0 -annotate +8+6 "${LABEL}" \
|
label:"${LABEL}" -stroke none -strokewidth 0 -annotate +8+6 "${LABEL}" \
|
||||||
"${HOME}/doom/fabricate/${PWAD}/${PWAD}_map${MAPSTR}_text.png"
|
"${HOME}/doom/fabricate/${PWAD}/${PWAD}_map${MAPSTR}_text.png"
|
||||||
exit $?
|
exit $?
|
||||||
|
"tysontext")
|
||||||
|
read TEXT
|
||||||
|
LABEL="$(printf "MAP%s: %s\nUV-Tyson-Max Demo" "${MAPSTR}" "${TEXT}")"
|
||||||
|
convert -background transparent -fill white -font "League-Spartan-Bold" -strokewidth 10 \
|
||||||
|
-stroke "srgb(176,0,0)" -interline-spacing -10 -pointsize 64 -trim +repage -border 5 \
|
||||||
|
-bordercolor transparent -gravity NorthWest \
|
||||||
|
label:"${LABEL}" -stroke none -strokewidth 0 -annotate +8+6 "${LABEL}" \
|
||||||
|
"${HOME}/doom/fabricate/${PWAD}/${PWAD}_map${MAPSTR}_text.png"
|
||||||
|
exit $?
|
||||||
;;
|
;;
|
||||||
"thumb")
|
"thumb")
|
||||||
convert "${VIDPATH}/${PWAD}_map${MAPSTR}_base.png" "${VIDPATH}/M_DOOM_scaled.png" -gravity NorthWest -composite "${VIDPATH}/${PWAD}_map${MAPSTR}_text.png" -gravity SouthWest -composite "${VIDPATH}/${PWAD}_map${MAPSTR}_final.png"
|
convert "${VIDPATH}/${PWAD}_map${MAPSTR}_base.png" "${VIDPATH}/M_DOOM_scaled.png" -gravity NorthWest -composite "${VIDPATH}/${PWAD}_map${MAPSTR}_text.png" -gravity SouthWest -composite "${VIDPATH}/${PWAD}_map${MAPSTR}_final.png"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue