summaryrefslogtreecommitdiff
path: root/lib/PDF/Builder/Resource/XObject/Image/TIFF_GT.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PDF/Builder/Resource/XObject/Image/TIFF_GT.pm')
-rw-r--r--lib/PDF/Builder/Resource/XObject/Image/TIFF_GT.pm18
1 files changed, 13 insertions, 5 deletions
diff --git a/lib/PDF/Builder/Resource/XObject/Image/TIFF_GT.pm b/lib/PDF/Builder/Resource/XObject/Image/TIFF_GT.pm
index b3b8e46..c2c91e7 100644
--- a/lib/PDF/Builder/Resource/XObject/Image/TIFF_GT.pm
+++ b/lib/PDF/Builder/Resource/XObject/Image/TIFF_GT.pm
@@ -5,8 +5,8 @@ use base 'PDF::Builder::Resource::XObject::Image';
use strict;
use warnings;
-our $VERSION = '3.025'; # VERSION
-our $LAST_UPDATE = '3.024'; # manually update whenever code is changed
+our $VERSION = '3.026'; # VERSION
+our $LAST_UPDATE = '3.026'; # manually update whenever code is changed
use Compress::Zlib;
@@ -23,9 +23,11 @@ PDF::Builder::Resource::XObject::Image::TIFF_GT - TIFF image support
=head1 METHODS
-=over
+=head2 new
+
+ $res = PDF::Builder::Resource::XObject::Image::TIFF_GT->new($pdf, $file, %opts)
-=item $res = PDF::Builder::Resource::XObject::Image::TIFF_GT->new($pdf, $file, %opts)
+=over
Returns a TIFF-image object. C<$pdf> is the PDF object being added to, C<$file>
is the input TIFF file, and the optional C<$name> of the new parent image object
@@ -69,6 +71,8 @@ look into adding it as an option. According to Graphic::TIFF's owner
(ticket RT 133955), this is coming directly from libtiff (as write to STDERR),
so he can't do anything about it!
+=back
+
=cut
sub new {
@@ -137,7 +141,11 @@ sub new {
return $self;
} # end of new()
-=item $mode = $tif->usesLib()
+=head2 usesLib
+
+ $mode = $tif->usesLib()
+
+=over
Returns 1 if Graphics::TIFF installed and used, 0 if not installed, or -1 if
installed but not used (nouseGT option given to C<image_tiff>).