Page 1 of 1

Image::Size

Posted: 2008-11-12T00:46:27-07:00
by silentone
Hello all,
i am getting the following error when using "use Image::Size;" :-

# ./Program.PL
Can't locate Image/Size.pm in @INC (@INC contains: /usr/lib/perl5/5.10.0/i386-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl/5.10.0 .) at ./Program.PL line 10.

when i take it out and run with the line of code "$MySize = Image::Size::html_imgsize($MyPath);" i get the error:-

Undefined subroutine &Image::Size::html_imgsize called at ./Program.PL line 14.

when i run with the line of code "$MySize= html_imgsize($MyPath);" i get:-

Undefined subroutine &main::html_imgsize called at ./Program.PL line 14.

thanks heaps

Re: Image::Size

Posted: 2008-11-12T06:57:42-07:00
by magick
We can't help you. The error you received is from a Perl module called Image::Size. We support the Image::Magick module.