You can use the color "none" with xc: as  (xc:none) to make a 
transparent background image.
You can use any color defined per http://imagemagick.org/script/color.php

Make the background much bigger than you need, add the text, then use 
-trim to trim the excess area, then use -border to add any border 
back that you want.

See

http://www.imagemagick.org/Usage/text/

http://www.imagemagick.org/Usage/fonts/


http://www.imagemagick.org/Usage/annotating/


I have a script also that does lots of text effects. See texteffect script at
http:/www.fmwconcepts.com/imagemagick/index.html




>Hello,
>
>I just read the thread on 'Adding text to an image' and it has inspired me
>to want to create a drop shadow text image using a script. Both the value of
>text and its color will be parameters to the script. The background of the
>final image is to be transparent.
>
>To that end I need to learn the following:
>1. What parameters may I use to 'xc:'?
>2. Once I have a text on a suitable background how can I determine the
>bounding box for the text and cut the image to that size?
>3. If I can do step 2 then I can create the same text in say a dark gray for
>the shadow. How do I apply a small guassian blur to the shadow image?
>
>Thanks,
>Bob
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to