{
    "mode": "perldoc",
    "parameter": "Image::Info::TIFF",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Image%3A%3AInfo%3A%3ATIFF/json",
    "generated": "2026-06-12T23:05:41Z",
    "synopsis": "use Image::Info qw(imageinfo dim);\nmy $info = imageinfo(\"image.tif\");\nif (my $error = $info->{error}) {\ndie \"Can't parse image info: $error\\n\";\n}\nprint $info->{BitPerSample};\nmy($w, $h) = dim($info);",
    "sections": {
        "NAME": {
            "content": "Image::Info::TIFF - TIFF support for Image::Info\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use Image::Info qw(imageinfo dim);\n\nmy $info = imageinfo(\"image.tif\");\nif (my $error = $info->{error}) {\ndie \"Can't parse image info: $error\\n\";\n}\nprint $info->{BitPerSample};\n\nmy($w, $h) = dim($info);\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This module adds TIFF support for Image::Info.\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": []
        },
        "SEE ALSO": {
            "content": "Image::Info\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Jerrad Pierce <belg4mit@mit.edu>/<webmaster@pthbb.org>\n\nPatches and fixes by Ben Wheeler.\n\nThis library is free software; you can redistribute it and/or modify it under the same terms as\nPerl itself.\n",
            "subsections": []
        }
    },
    "summary": "Image::Info::TIFF - TIFF support for Image::Info",
    "flags": [],
    "examples": [],
    "see_also": []
}