.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "TIFF 3pm" .TH TIFF 3pm 2024-04-13 "perl v5.38.2" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME Imager::File::TIFF \- read and write TIFF files .SH SYNOPSIS .IX Header "SYNOPSIS" .Vb 1 \& use Imager; \& \& my $img = Imager\->new; \& $img\->read(file=>"foo.tiff") \& or die $img\->errstr; \& \& $img\->write(file => "foo.tif") \& or die $img\->errstr; \& \& my @codecs = Imager::File::TIFF\->codecs; .Ve .SH DESCRIPTION .IX Header "DESCRIPTION" Imager's TIFF support is documented in Imager::Files. .SH "CLASS METHODS" .IX Header "CLASS METHODS" .IP Imager::File::TIFF\->codecs 4 .IX Item "Imager::File::TIFF->codecs" Returns a list of hashrefs, each hash contains: .RS 4 .IP \(bu 4 \&\f(CW\*(C`code\*(C'\fR \- the numeric TIFF defined identifier for this compression codec. .IP \(bu 4 \&\f(CW\*(C`name\*(C'\fR \- the short name traditionally used by Imager::File::TIFF for this compression codec. This may be an empty string if Imager::File::TIFF doesn't have a name for this codec. .IP \(bu 4 \&\f(CW\*(C`description\*(C'\fR \- the \f(CW\*(C`libtiff\*(C'\fR defined name for this codec. You can now supply this name in the \f(CW\*(C`tiff_compression\*(C'\fR tag to select this compression. .RE .RS 4 .RE .IP Imager::File::TIFF\->builddate 4 .IX Item "Imager::File::TIFF->builddate" The release date of the version of \f(CW\*(C`libtiff\*(C'\fR Imager::File::TIFF was built with. eg. \f(CW20230609\fR. .IP Imager::File::TIFF\->buildversion 4 .IX Item "Imager::File::TIFF->buildversion" The version number of \f(CW\*(C`libtiff\*(C'\fR Imager::File::TIFF was built with. eg. \f(CW4.5.0\fR. Only available from \f(CW\*(C`libtiff\*(C'\fR 4.5.0. .IP Imager::File::TIFF\->libversion 4 .IX Item "Imager::File::TIFF->libversion" The version number of \f(CW\*(C`libtiff\*(C'\fR Imager::File::TIFF is running with. This should be the same as \f(CW\*(C`buildversion\*(C'\fR at build time, but an upgrade to libtiff may result in \f(CW\*(C`libversion\*(C'\fR changing without \&\f(CW\*(C`buildversion\*(C'\fR changing. .SH AUTHOR .IX Header "AUTHOR" Tony Cook .SH "SEE ALSO" .IX Header "SEE ALSO" Imager, Imager::Files. .PP http://www.simplesystems.org/libtiff/