Hello,

Inspired by this gimp tutorial http://www.gimp.org/tutorials/Golden_Text/
I would like to have a script to automaticly render any text in "goldlook".

This very nice page has some hints related to that:
http://www.cit.gu.edu.au/~anthony/graphics/imagick/text/
but I do not get it together to fill the font with gold.

Has somebody got a clue how to do that ?

I would like to enhance e.g. this script:

#!/bin/bash
text="$*"
length=$(echo -n $text | wc -c)
pointsize=40
font="NiceFont.ttf"
w=$(( ($pointsize/2) * $length ))
h=$(( $pointsize ))
convert -size ${w}x${h} xc:white \
        -fill yellow  \
        -stroke black \
        -font $font -pointsize "$pointsize" \
        -gravity center \
        -draw "text 0,0 '$*'"  png:- | display -

Thanks, Tom
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to