Xidus has asked for the wisdom of the Perl Monks concerning the following question:
But when i run this code it returns no errors and only prints a white rectangle with no writing, which is quite odd in my opinoin. If any clever people could enlighten me to this situation i would be most appricative. Thanks#!/usr/bin/perl -w use GD; use strict; my $im = new GD::Image(569,45) or die "new: $!"; my ($white,$blue) = ( $im->colorAllocate(255, 255, 255), $im->colorAllocate(114, 126, 170) ) or die "colors"; $im->stringFT($blue, "/home/development/archivesystem/ARLRDBD.TTF", 12 +.0, 0.0, 0, 0, "kokomo") or die "writing: $!"; binmode STDOUT or die "binmode: $1"; print $im->png or die "no png :o";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: GD and creating a Banner
by BrowserUk (Patriarch) on Aug 29, 2006 at 02:53 UTC | |
|
Re: GD and creating a Banner
by GrandFather (Saint) on Aug 29, 2006 at 02:29 UTC | |
by Xidus (Novice) on Aug 29, 2006 at 02:42 UTC | |
by Xidus (Novice) on Aug 29, 2006 at 02:53 UTC |