Re: How to get GIF support with Perl-GD library? (Can't locate object method "newFromGif")
- From: "Mumia W." <paduille.4061.mumia.w+nospam@xxxxxxxxxxxxx>
- Date: Tue, 05 Jun 2007 10:04:44 GMT
On 06/05/2007 03:22 AM, Francesco Moi wrote:
Hi.
Using Perl v5.8.3 on Linux, I'm trying to install GD interface for
Perl (made by Lincoln Stein).
I installed GD, zlib, jpeg-6b and freetype from sources (the very last
versions).
When executing script, I get this error message:
-----
Can't locate object method "newFromGif" via package "GD::Image" at ./
test.pl line 6.
-------
Line 6:
------
$srcimage = GD::Image->newFromGif("myimage.gif");
------
I know GIF is not supported by official GD libraries, but is it
possible to get it via another way?
Thank you very much.
You didn't mention what Linux distribution you are using. I've installed Debian Sarge, and the "newFromGif" method exists on my system's GD. I installed the libgd-gd2-perl package.
.
- References:
- Prev by Date: Net::Telnet Juniper display XML troubles
- Next by Date: Re: help on win32::serialport
- Previous by thread: Re: How to get GIF support with Perl-GD library? (Can't locate object method "newFromGif")
- Next by thread: Re: How to get GIF support with Perl-GD library? (Can't locate object method "newFromGif")
- Index(es):
Relevant Pages
|