DOKK / manpages / debian 12 / libimage-info-perl / Image::Info::TIFF.3pm.en
Image::Info::TIFF(3pm) User Contributed Perl Documentation Image::Info::TIFF(3pm)

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

 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);

This module adds TIFF support for Image::Info.

process_file()

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

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

Image::Info

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.

2022-10-08 perl v5.34.0