---
name: "Image::Info::TIFF"
section: "3pm"
platform: "linux"
package: "perl-image-info"
version: "1.45-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/Image::Info::TIFF"
---

# Image::Info::TIFF(3pm)

TIFF support for Image::Info

## NAME

Image::Info::TIFF - TIFF support for Image::Info

## SYNOPSIS

```
 use Image::Info qw(image_info dim);
 my $info = image_info("image.tif");
 if (my $error = $info->{error}) {
     die "Can't parse image info: $error\n";
 }
 print $info->{BitPerSample};
 my($w, $h) = dim($info);
```

## DESCRIPTION

This module adds TIFF support for Image::Info.

## METHODS

### process\_file()

```
        $info->process_file($source, $options);
```

Processes one file and sets the found info fields in the `$info` object.

## SEE ALSO

Image::Info

## AUTHOR

Jerrad Pierce \<belg4mit@mit.edu\>/\<webmaster@pthbb.org\>

Patches and fixes by Ben Wheeler.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
