diff options
author | gregor herrmann <gregoa@debian.org> | 2023-12-15 21:25:55 +0100 |
---|---|---|
committer | gregor herrmann <gregoa@debian.org> | 2023-12-15 21:25:55 +0100 |
commit | 900134cb227e50fe9047d0f48707ec7899c8c1f0 (patch) | |
tree | fe5bc6f0e7e00ccf9ad39ee858720d842bb82a1f /lib/PDF/Builder/Resource/XObject/Image/TIFF_GT.pm | |
parent | 00c23136faf4a0a7015ba5f8daecb98fb33ba6cc (diff) | |
parent | e2f017af7599617065e54b1ad68a0ccc6afaf980 (diff) |
Update upstream source from tag 'upstream/3.026'
Update to upstream version '3.026'
with Debian dir d8536bf85ae20bcf7ac21ae3322a229ea3f49b28
Diffstat (limited to 'lib/PDF/Builder/Resource/XObject/Image/TIFF_GT.pm')
-rw-r--r-- | lib/PDF/Builder/Resource/XObject/Image/TIFF_GT.pm | 18 |
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>). |