TIFF(3pm)
π NAME π
okay so this is the TIFF manual page, and the module serving main-character energy is Imager::File::TIFF β read and write TIFF files, periodt. π
β¨
π SYNOPSIS π
bestie, here's the whole vibe in code:
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;
π¦ DESCRIPTION π¦
okay so Imager's TIFF support is documented in Imager::Files β that's where the deets live, no cap. π«Ά
π CLASS METHODS π
π Imager::File::TIFF->codecs
Returns a list of hashrefs, and every hash has these keys, periodt:
codeβ the numeric TIFF defined identifier for this compression codec.nameβ the short name traditionally used byImager::File::TIFFfor this compression codec. This may be an empty string ifImager::File::TIFFdoesn't have a name for this codec.descriptionβ thelibtiffdefined name for this codec. You can now supply this name in thetiff_compressiontag to select this compression.
π Imager::File::TIFF->builddate
The release date of the version of libtiff that Imager::File::TIFF was built with. eg. 20230609. ποΈ
π Imager::File::TIFF->buildversion
The version number of libtiff that Imager::File::TIFF was built with. eg. 4.5.0. Only available from libtiff 4.5.0. β¨
π Imager::File::TIFF->libversion
The version number of libtiff that Imager::File::TIFF is running with. This should be the same as buildversion at build time, but an upgrade to libtiff may result in libversion changing without buildversion changing. π₯
π AUTHOR π
Tony Cook <tonyc@cpan.org> β icon. πΈ
π SEE ALSO π
ImagerImager::Fileshttp://www.simplesystems.org/libtiff/
mwah π β this page comes from perl v5.42.3, dated 2026-08-19, and that's the whole manual, bestie. slay. π
π¦ where this page comes from
- ubuntu stonking: libimager-perl 1.035+dfsg-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms