How do I get the original size of the image in perl?? I have tired this and alot of other things:
#!/usr/bin/perl -w
print "Content-type: text/html\n\n";
use Image::Magick;
my $workimage = Image::Magick->new;
$workimage->Read("./test.jpg");
my @imginfo = getimagesize($workimage);
print"$imginfo[0] x $imginfo[1]";
undef($workimage);
---------
Thanks again!
Peter
#!/usr/bin/perl -w
print "Content-type: text/html\n\n";
use Image::Magick;
my $workimage = Image::Magick->new;
$workimage->Read("./test.jpg");
my @imginfo = getimagesize($workimage);
print"$imginfo[0] x $imginfo[1]";
undef($workimage);
---------
Thanks again!
Peter