PDF::Builder::Resource::XObject::Image::TIFF_GT - TIFF image support (Graphics::TIFF enabled)
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.
$pdf
$file
$name
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.
-nouseGT
image_tiff
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.
To install PDF::Builder, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PDF::Builder
CPAN shell
perl -MCPAN -e shell install PDF::Builder
For more information on module installation, please visit the detailed CPAN module installation guide.