[thelist] .swf width & height in perl (cont.)

Moniruvwe Orife moni at teamsphere.com
Thu Jul 19 15:57:18 CDT 2001


sorry... accidentally sent that off before i finished my message.

-----------------------

What's the best way to get the widths & heights of shockwave files on the
system side... using perl?  I've done this before with images using
image::info with code similar to:


Image::Info qw(image_info dim);


 my $info = image_info("image.jpg");
 if (my $error = $info->{error}) {
     die "Can't parse image info: $error\n";
 }

 my($w, $h) = dim($info);


is there an .swf equivalent?
thanks

	- moni





More information about the thelist mailing list