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 $name)
11 $res = PDF::Builder::Resource::XObject::Image::TIFF->new($pdf, $file)
12 Returns a TIFF-image object.
13
14 If the Graphics::TIFF package is installed, the TIFF_GT library
15 will be used instead of the TIFF library. In such a case, use of
16 the TIFF library may be forced via the "-nouseGT" flag (see Builder
17 documentation for "image_tiff()").
18
19 $mode = $tif->usesLib()
20 Returns 1 if Graphics::TIFF installed and used, 0 if not installed,
21 or -1 if installed but not used (-nouseGT option given to
22 "image_tiff").
23
24 Caution: this method can only be used after the image object has
25 been created. It can't tell you whether Graphics::TIFF is available
26 in advance of actually using it, in case you want to use some
27 functionality available only in TIFF_GT. See the <PDF::Builder>
28 LA_GT() call if you need to know in advance.
29
30 $value = $tif->tiffTag($tag)
31 returns the value of the internal tiff-tag.
32
33 Useful Tags:
34
35 imageDescription, imageId (strings)
36 xRes, yRes (dpi; pixel/cm if resUnit==3)
37 resUnit
38
39
40
41perl v5.32.1 PDF2:0:2B1u-i0l3d-e2r9::Resource::XObject::Image::TIFF(3)