{
    "content": [
        {
            "type": "text",
            "text": "# Image::Info::WBMP (perldoc)\n\n## NAME\n\nImage::Info::WBMP - WBMP support for Image::Info\n\n## SYNOPSIS\n\nuse 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);\n\n## DESCRIPTION\n\nwbmp 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\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **AUTHOR**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Image::Info::WBMP",
        "section": "",
        "mode": "perldoc",
        "summary": "Image::Info::WBMP - WBMP support for Image::Info",
        "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);",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 9,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            }
        ],
        "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": []
            }
        }
    }
}