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 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.
  • description β€” the libtiff defined name for this codec. You can now supply this name in the tiff_compression tag 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 🌈


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