senget76 has asked for the wisdom of the Perl Monks concerning the following question:
Another problem, is to position the text, the weird thing, how should I try to position text around if I could not see the text, stupid me!!!
Ok, here is sample of my code, help pleaseeeee
use Image::Magick; my($image); $image = Image::Magick->new; $image->Set(size=>'100x100'); $image->ReadImage('xc:white'); $text = 'Works like magick!'; $image->Annotate (font=>'tahoma.ttf', pointsize=>8, fill=>'green', tex +t=>$text, x=>20, y=>20); $image->Write('test.png');
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Magick: Text on the drawing
by crenz (Priest) on Apr 13, 2003 at 22:55 UTC | |
|
Re: Magick: Text on the drawing
by valdez (Monsignor) on Apr 13, 2003 at 23:59 UTC | |
|
Re: Magick: Text on the drawing
by zentara (Cardinal) on Apr 14, 2003 at 12:18 UTC | |
|
strict?
by g00n (Hermit) on Apr 14, 2003 at 00:43 UTC |