1Image::Info::TIFF(3) User Contributed Perl Documentation Image::Info::TIFF(3)
2
3
4
6 Image::Info::TIFF - TIFF support for Image::Info
7
9 use Image::Info qw(image_info dim);
10
11 my $info = image_info("image.tif");
12 if (my $error = $info->{error}) {
13 die "Can't parse image info: $error\n";
14 }
15 print $info->{BitPerSample};
16
17 my($w, $h) = dim($info);
18
20 This module adds TIFF support for Image::Info.
21
23 process_file()
24 $info->process_file($source, $options);
25
26 Processes one file and sets the found info fields in the $info object.
27
29 Image::Info
30
32 Jerrad Pierce <belg4mit@mit.edu>/<webmaster@pthbb.org>
33
34 Patches and fixes by Ben Wheeler.
35
36 This library is free software; you can redistribute it and/or modify it
37 under the same terms as Perl itself.
38
39
40
41perl v5.32.0 2020-07-28 Image::Info::TIFF(3)