1PDF::Builder::Resource:U:sXeOrbjCeocntt:rP:iDIbFmu:at:geBedu:i:PlTedIreFlrF:(D:3oR)ceusmoeunrtcaet:i:oXnObject::Image::TIFF(3)
2
3
4
6 PDF::Builder::Resource::XObject::Image::TIFF - TIFF image support
7
9 $res = PDF::Builder::Resource::XObject::Image::TIFF->new($pdf, $file,
10 %opts)
11 Returns a TIFF-image object.
12
13 If the Graphics::TIFF package is installed, the TIFF_GT library
14 will be used instead of the TIFF library. In such a case, use of
15 the TIFF library may be forced via the "nouseGT" flag (see Builder
16 documentation for image_tiff()).
17
18 Options:
19
20 'name' => 'string'
21 This is the name you can give for the TIFF image object. The
22 default is Ixnnnn.
23
24 $mode = $tif->usesLib()
25 Returns 1 if Graphics::TIFF installed and used, 0 if not installed,
26 or -1 if installed but not used (nouseGT option given to
27 "image_tiff").
28
29 Caution: this method can only be used after the image object has
30 been created. It can't tell you whether Graphics::TIFF is available
31 in advance of actually using it, in case you want to use some
32 functionality available only in TIFF_GT. See the <PDF::Builder>
33 LA_GT() call if you need to know in advance.
34
35 $value = $tif->tiffTag($tag)
36 returns the value of the internal tiff-tag.
37
38 Useful Tags:
39
40 imageDescription, imageId (strings)
41 xRes, yRes (dpi; pixel/cm if resUnit==3)
42 resUnit
43
44
45
46perl v5.36.0 PDF2:0:2B3u-i0l1d-e2r3::Resource::XObject::Image::TIFF(3)