GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  IMAGE::INFO::WBMP (3)

.ds Aq ’

NAME

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

CONTENTS

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 "Cant 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 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 Image::Info’s image_info and may be used in a call to the dim function.

AUTHOR

Slaven Rezic <srezic@cpan.org>
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 IMAGE::INFO::WBMP (3) 2013-01-28

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.