- Tumbleweed 3.27.0-1.1
- Leap-16.0
- Leap-15.6
PDF::Builder::Resource::XObject::Image::TIFF(3) | User Contributed Perl Documentation | PDF::Builder::Resource::XObject::Image::TIFF(3) |
NAME¶
PDF::Builder::Resource::XObject::Image::TIFF - TIFF image support
Inherits from PDF::Builder::Resource::XObject::Image
METHODS¶
new¶
$res = PDF::Builder::Resource::XObject::Image::TIFF->new($pdf, $file, %opts)
If the Graphics::TIFF package is installed, the TIFF_GT library will be used instead of the TIFF library. In such a case, use of the TIFF library may be forced via the "nouseGT" flag (see Builder documentation for image_tiff()).
Options:
- 'name' => 'string'
- This is the name you can give for the TIFF image object. The default is Ixnnnn.
Remember that you need to use the Builder.pm method image_tiff in order to display a TIFF file.
usesLib¶
$mode = $tif->usesLib()
Caution: this method can only be used after the image object has been created. It can't tell you whether Graphics::TIFF is available in advance of actually using it, in case you want to use some functionality available only in TIFF_GT. See the <PDF::Builder> LA_GT() call if you need to know in advance.
tiffTag¶
$value = $tif->tiffTag($tag)
Useful Tags:
imageDescription, imageId (strings) xRes, yRes (dpi; pixel/cm if resUnit==3) resUnit
2025-04-19 | perl v5.40.2 |