Image::Info::GIF - Graphics Interchange Format support for Image::Info |
Image::Info::GIF - Graphics Interchange Format support for Image::Info
use Image::Info qw(image_info dim);
my $info = image_info("image.gif"); if (my $error = $info->{error}) { die "Can't parse image info: $error\n"; } my $color = $info->{color_type};
my($w, $h) = dim($info);
This module supplies the standard key names as well as
head1 METHODS
process_file()
$info->process_file($source, $options);
Processes one file and sets the found info fields in the $info
object.
Image::Info::GIF - Graphics Interchange Format support for Image::Info |