An even more fundamental question is: How do I generate a "blank" image that I can draw on?
I'll take that one first (reference: perl-magick
-- search for "xc" in the Examples section):
my $image = Image::Magick->new();
See also this formats
page for what IM takes (XC is listed there as well as some built-in images and patterns).
Annotate will suffice, but I'm still puzzled that the Draw doesn't work.
me too.. i guess it's just another IM inconsistancy .. (note at least in the http://imagemagick.org/script/perl-magick.php|docs] that Draw doesn't list a 'text' parameter)
My other question is: how do I generate 50% transparent text?
umm.. no clue.. But i suspect if there is an answer it might be on this site: ImageMagick v6 Examples
-- seems like a very good collection of faq/how-to's...
Are you posting in the right place? Check out Where do I post X? to know for sure.
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
Want more info? How to link or
or How to display code and escape characters
are good places to start.