{
    "content": [
        {
            "type": "text",
            "text": "# Image::Info::PPM (perldoc)\n\n## NAME\n\nImage::Info::PPM - PPM support Image::Info\n\n## SYNOPSIS\n\nuse Image::Info qw(imageinfo dim);\nmy $info = imageinfo(\"image.ppm\");\nif (my $error = $info->{error}) {\ndie \"Can't parse image info: $error\\n\";\n}\nmy($w, $h) = dim($info);\n\n## DESCRIPTION\n\nThis modules adds ppm support to Image::Info.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **METHODS**\n- **AUTHOR**\n- **LICENSE**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Image::Info::PPM",
        "section": "",
        "mode": "perldoc",
        "summary": "Image::Info::PPM - PPM support Image::Info",
        "synopsis": "use Image::Info qw(imageinfo dim);\nmy $info = imageinfo(\"image.ppm\");\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": 8,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "LICENSE",
                "lines": 3,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Image::Info::PPM - PPM support Image::Info\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use Image::Info qw(imageinfo dim);\n\nmy $info = imageinfo(\"image.ppm\");\nif (my $error = $info->{error}) {\ndie \"Can't parse image info: $error\\n\";\n}\nmy($w, $h) = dim($info);\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This modules adds ppm support to Image::Info.\n\nIt is loaded and used automatically.\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": "Gisle Aas.\n",
                "subsections": []
            },
            "LICENSE": {
                "content": "This library is free software; you can redistribute it and/or modify it under the same terms as\nPerl itself.\n",
                "subsections": []
            }
        }
    }
}