HTTP-404 has asked for the wisdom of the Perl Monks concerning the following question:
Can any1 plz help, thnx a advance#!/usr/local/bin/perl use GD; # create a new image $im = new GD::Image(200, 36); # allocate some colors $white = $im->colorAllocate(255,255,255); $black = $im->colorAllocate(0,0,0); $red = $im->colorAllocate(255,0,0); $blue = $im->colorAllocate(0,0,255); $im->stringTTF($black,"test.ttf", 12, 0, 0, 0,"Font Reactor") or die $ +!; open(IMAGE, ">test.png") or die; binmode IMAGE; print IMAGE $im->png;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: stringTTF problem with AS Perl 629
by mitd (Curate) on Aug 29, 2001 at 01:10 UTC | |
|
Re: stringTTF problem with AS Perl 629
by Beatnik (Parson) on Aug 29, 2001 at 01:05 UTC |