PDF::Builder::Resource::XObject::Image::TIFF_GT(3)

NAME
PDF::Builder::Resource::XObject::Image::TIFF_GT - TIFF image support (Graphics::TIFF enabled)

METHODS

$res = PDF::Builder::Resource::XObject::Image::TIFF_GT->new($pdf, $file, $name)
$res = PDF::Builder::Resource::XObject::Image::TIFF_GT->new($pdf, $file)
    Returns a TIFF-image object. $pdf is the PDF object being added to, $file is the input TIFF file, and the optional $name of the new parent image object defaults to IxAAA.

    If the Graphics::TIFF package is installed, and its use is not suppressed via the "-nouseGT" flag (see Builder documentation for "image_tiff"), the TIFF_GT library will be used. Otherwise, the TIFF library will be used instead.

$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").

    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.