|
Posted by Mumia W. on June 5, 2007, 6:04 am
Please log in for more thread options
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.
|