NAME
PDF::Builder::Resource::XObject::Image::TIFF - TIFF image support
METHODS
- $res = PDF::Builder::Resource::XObject::Image::TIFF->new($pdf, $file, $name)
- $res = PDF::Builder::Resource::XObject::Image::TIFF->new($pdf, $file)
-
Returns a TIFF-image object.
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 forimage_tiff()
). - $mode = $tif->usesLib()
-
Returns 1 if Graphics::TIFF installed and used, 0 if not installed, or -1 if installed but not used (-nouseGT option given to
image_tiff
). - $value = $tif->tiffTag($tag)
-
returns the value of the internal tiff-tag.
Useful Tags:
imageDescription, imageId (strings) xRes, yRes (dpi; pixel/cm if resUnit==3) resUnit