{
    "mode": "perldoc",
    "parameter": "Image::Info::GIF",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Image%3A%3AInfo%3A%3AGIF/json",
    "generated": "2026-06-13T21:41:31Z",
    "synopsis": "use Image::Info qw(imageinfo dim);\nmy $info = imageinfo(\"image.gif\");\nif (my $error = $info->{error}) {\ndie \"Can't parse image info: $error\\n\";\n}\nmy $color = $info->{colortype};\nmy($w, $h) = dim($info);",
    "sections": {
        "NAME": {
            "content": "Image::Info::GIF - Graphics Interchange Format support for Image::Info\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use Image::Info qw(imageinfo dim);\n\nmy $info = imageinfo(\"image.gif\");\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 module supplies the standard key names as well as\n\nGIFLoop\nThe Netscape-2.0 extension to loop animation sequences is represented by the GIFLoop key\nfor the first image. The value is either \"forever\" or a number indicating loop count.\n\nhead1 METHODS\n\nprocessfile()\n$info->processfile($source, $options);\n\nProcesses one file and sets the found info fields in the $info object.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "Image::Info\n",
            "subsections": []
        }
    },
    "summary": "Image::Info::GIF - Graphics Interchange Format support for Image::Info",
    "flags": [],
    "examples": [],
    "see_also": []
}