{
    "mode": "perldoc",
    "parameter": "Image::Info::PPM",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Image%3A%3AInfo%3A%3APPM/json",
    "generated": "2026-06-13T12:46:18Z",
    "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);",
    "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": []
        }
    },
    "summary": "Image::Info::PPM - PPM support Image::Info",
    "flags": [],
    "examples": [],
    "see_also": []
}