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