-
-
19 Oct 2019 06:46:49 UTC
- Distribution: Image-Info
- Module version: 0.01
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Repository
- Issues (8)
- Testers (4272 / 1 / 0)
- Kwalitee
Bus factor: 1- 76.25% Coverage
- License: perl_5
- Perl: v5.6.0
- Activity
24 month- Tools
- Download (314.19KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- IO::Scalar
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
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 Image::Info's
image_info
orimage_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 thewbmp_image_info
function instead. The returned value looks the same like Image::Info'simage_info
and may be used in a call to thedim
function.AUTHOR
Slaven Rezic <srezic@cpan.org>
Module Install Instructions
To install Image::Info, copy and paste the appropriate command in to your terminal.
cpanm Image::Info
perl -MCPAN -e shell install Image::Info
For more information on module installation, please visit the detailed CPAN module installation guide.