Perl Diver 2.33
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

Image::Info::WBMP

Name Image::Info::WBMP
Version 0.01
Located at /usr/share/perl5
File /usr/share/perl5/Image/Info/WBMP.pm
Is Core No
Search CPAN for this module Image::Info::WBMP
Documentation Image::Info::WBMP
Module Details Image::Info::WBMP

NAME

Image::Info::WBMP - WBMP support for Image::Info


SYNOPSIS

 use Image::Info qw(dim);
 use Image::Info::WBMP qw(wbmp_image_info);
 my $info = wbmp_image_info("image.xpm");
 if (my $error = $info->{error}) {
     die "Can't parse image info: $error\n";
 }
 my($w, $h) = dim($info);


DESCRIPTION

wbmp is a magic-less file format, so using the Image::Info manpage's image_info or image_type does not work here. Instead, the user has to determine the file type himself, e.g. by relying on the file suffix or mime type, and use the wbmp_image_info function instead. The returned value looks the same like the Image::Info manpage's image_info and may be used in a call to the dim function.


AUTHOR

Slaven Rezic <srezic@cpan.org>

Perl Diver brought to you by ScriptSolutions.com © 1997- 2026