in reply to GD Error: Can't locate object method 'new FromJpeg'
Likewise for the GD module (which has some config options when you compile it.
The config script asks for JPEG, Freetype, and XPM support options; if you didn't answer yes for the JPEG, you don't get support.
Anyway, does this work? (provide your own JPEG filename):
use strict; use GD; my $img = GD::Image->newFromJpeg("/home/ned/Champagne.jpg");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Dumb question #1 - GD
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 |