{
    "mode": "perldoc",
    "parameter": "Image::Info::WBMP",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Image%3A%3AInfo%3A%3AWBMP/json",
    "generated": "2026-06-10T16:43:00Z",
    "synopsis": "use Image::Info qw(dim);\nuse Image::Info::WBMP qw(wbmpimageinfo);\nmy $info = wbmpimageinfo(\"image.xpm\");\nif (my $error = $info->{error}) {\ndie \"Can't parse image info: $error\\n\";\n}\nmy($w, $h) = dim($info);",
    "sections": {
        "NAME": {
            "content": "Image::Info::WBMP - WBMP support for Image::Info\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use Image::Info qw(dim);\nuse Image::Info::WBMP qw(wbmpimageinfo);\n\nmy $info = wbmpimageinfo(\"image.xpm\");\nif (my $error = $info->{error}) {\ndie \"Can't parse image info: $error\\n\";\n}\nmy($w, $h) = dim($info);\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "wbmp is a magic-less file format, so using Image::Info's \"imageinfo\" or \"imagetype\" does not\nwork here. Instead, the user has to determine the file type himself, e.g. by relying on the file\nsuffix or mime type, and use the \"wbmpimageinfo\" function instead. The returned value looks\nthe same like Image::Info's \"imageinfo\" and may be used in a call to the \"dim\" function.\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Slaven Rezic <srezic@cpan.org>\n",
            "subsections": []
        }
    },
    "summary": "Image::Info::WBMP - WBMP support for Image::Info",
    "flags": [],
    "examples": [],
    "see_also": []
}