Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Image::size

50 views
Skip to first unread message

Basil

unread,
Apr 3, 2010, 3:38:25 PM4/3/10
to
I am trying to get the width and heights of an image file. by using
Image::size. getting the following error. the only information I found was
"Image Size was not installed properly? I use Activestate perl/ppm and all
file looks fine!my server is IIS 5 on Win./XP prof. Bellow are the error
message and the code.Any help is highly appreciated. Thansk.Regards.B.Can't
locate auto/Image/Size/autosplit.ix in @INC (@INC contains: d:/perl/site/lib
d:/perl/lib .) at d:/perl/lib/AutoLoader.pm line 186.
at d:/perl/lib/Image/Size.pm line 26
Can't locate auto/Image/Size/gifsize.al in @INC (@INC contains:
d:/perl/site/lib d:/perl/lib . D:/Inetpub/Xitami/WebPages/cgi-bin/NOYQ) at
d:/perl/lib/Image/Size.pm line 213
use Image::Size; # Get the size of globe.gif my $upload_dir =
"ImgClt/53z1164"; my $upload_fil = "UsrImg.gif", $GifFile;
$File=$upload_dir.'/'.$upload_fil; # ($globe_x, $globe_y) =
imgsize($File); # print(" sizes: $File, $globe_x, $globe_y, "); #
Assume X=60 and Y=40 for remaining examples


0 new messages