[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Can't locate object method "gif" via package "GD::Image"



Hi,
Yes, you are right. Alternatively, I revised "return $self->{graph}->gif"
to "return $self->{graph}->png" in /usr/lib/perl5/GIFgraph/axestype.pm
and got a output in PNG formate successfully. Thank you and Erik Hollensbe
for your advice.

Regards,

--Wen
wen@japan.email.ne.jp

m_ilya> It seems you have installed latest versions of GD library which do not
m_ilya> have gif support. This is from README of latest GD version:
m_ilya> 
m_ilya> ===> This version of GD no longer supports GIF output because of
m_ilya> ===> threats from the legal department at Unisys.  Source code
m_ilya> ===> that calls $image->gif will have to be changed to call either
m_ilya> ===> $image->jpg or $image->png to output in JPEG or PNG formats.
m_ilya> ===> The last version of GD that supported GIF output was version
m_ilya> ===> 1.19.
m_ilya> 
m_ilya> Try to take version of gd from testing or stable. It has version
m_ilya> 1.18. Obvious there is a bug with libgifgraph-perl packages
m_ilya> dependecies. It should require libgd-perl < 1.19 instead just
m_ilya> libgd-perl.
m_ilya> 
m_ilya> -- 
m_ilya>  -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
m_ilya> | Ilya Martynov (http://martynov.org/)                                    |
m_ilya> | GnuPG 1024D/323BDEE6 D7F7 561E 4C1D 8A15 8E80  E4AE BE1A 53EB 323B DEE6 |
m_ilya> | AGAVA Software Company (http://www.agava.com/)                          |
m_ilya>  -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



Reply to: