{
    "content": [
        {
            "type": "text",
            "text": "# Image::Info::XBM (perldoc)\n\n## NAME\n\nImage::Info::XBM - XBM support for Image::Info\n\n## SYNOPSIS\n\nuse Image::Info qw(imageinfo dim);\nmy $info = imageinfo(\"image.xbm\");\nif (my $error = $info->{error}) {\ndie \"Can't parse image info: $error\\n\";\n}\nmy $color = $info->{colortype};\nmy($w, $h) = dim($info);\n\n## DESCRIPTION\n\nThis modules supplies the standard key names except for Compression, Gamma, Interlace,\nLastModificationTime, as well as:\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **METHODS**\n- **AUTHOR**\n- **FILES**\n- **SEE ALSO**\n- **NOTES**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Image::Info::XBM",
        "section": "",
        "mode": "perldoc",
        "summary": "Image::Info::XBM - XBM support for Image::Info",
        "synopsis": "use Image::Info qw(imageinfo dim);\nmy $info = imageinfo(\"image.xbm\");\nif (my $error = $info->{error}) {\ndie \"Can't parse image info: $error\\n\";\n}\nmy $color = $info->{colortype};\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": 10,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 14,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 9,
                "subsections": []
            },
            {
                "name": "FILES",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "NOTES",
                "lines": 2,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Image::Info::XBM - XBM support for Image::Info\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use Image::Info qw(imageinfo dim);\n\nmy $info = imageinfo(\"image.xbm\");\nif (my $error = $info->{error}) {\ndie \"Can't parse image info: $error\\n\";\n}\nmy $color = $info->{colortype};\n\nmy($w, $h) = dim($info);\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This modules supplies the standard key names except for Compression, Gamma, Interlace,\nLastModificationTime, as well as:\n\nHotSpotX\nThe x-coord of the image's hotspot. Set to -1 if there is no hotspot.\n\nHotSpotY\nThe y-coord of the image's hotspot. Set to -1 if there is no hotspot.\n\nL1DHistogram\nReference to an array representing a one dimensional luminance histogram. This key is only\npresent if \"imageinfo\" is invoked as \"imageinfo($file, L1DHistogram=>1)\". The range is\nfrom 0 to 1.\n",
                "subsections": []
            },
            "METHODS": {
                "content": "processfile()\n$info->processfile($source, $options);\n\nProcesses one file and sets the found info fields in the $info object.\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Jerrad Pierce <belg4mit@mit.edu>/<webmaster@pthbb.org>\n\nTels - (c) 2006\n\nCurrent maintainer: Slaven Rezic <srezic@cpan.org>\n\nThis library is free software; you can redistribute it and/or modify it under the same terms as\nPerl itself.\n",
                "subsections": []
            },
            "FILES": {
                "content": "This module requires Image::Xbm\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "Image::Info, Image::Xbm\n",
                "subsections": []
            },
            "NOTES": {
                "content": "For more information about XBM see <http://www.martinreddy.net/gfx/2d/XBM.txt>.\n",
                "subsections": []
            }
        }
    }
}