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
The Netscape-2.0 extension to loop animation sequences is represented by the GIF_Loop key for the first image. The value is either "forever" or a number indicating loop count.
head1 METHODS
$info->process_file($source, $options);
Processes one file and sets the found info fields in the $info object.
$info
Image::Info
To install Image::Info, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Image::Info
CPAN shell
perl -MCPAN -e shell install Image::Info
For more information on module installation, please visit the detailed CPAN module installation guide.