lnl has asked for the wisdom of the Perl Monks concerning the following question:
I've been trying to use GD::Image...
I keep getting
"Can't locate object method 'newFromJpeg' via package 'GD::Image' at / +www/cgi-bin/imager.pl line 678, <TEMP> chunk 10."
Line 678 is:
Also tried:$t_SrcImg= GD::Image->newFromJpeg("$imagedir/$file");
$t_SrcImg = newFromJpeg GD::Image("$imagedir/$file");
Tried including GD.pm in a BEGIN followed by import, but no effect.
Hints will lift my spirits.
lnl
Edit 2001-06-16 ar0n -- Changed title to a more descriptive one
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Dumb question #1 - GD
by bikeNomad (Priest) on Jun 04, 2001 at 08:09 UTC | |
by lnl (Pilgrim) on Jun 04, 2001 at 08:39 UTC | |
by shotgunefx (Parson) on Jun 04, 2001 at 12:05 UTC | |
by Anonymous Monk on Jun 04, 2001 at 21:05 UTC | |
by shotgunefx (Parson) on Jun 04, 2001 at 21:09 UTC |