Image::...WritePNG(3)
π¦ Image::...WritePNG(3) π¦
okay so this is the User Contributed Perl Documentation page for Image::...WritePNG(3), and bestie, we're about to make PNG metadata make Senseβ’ π
β¨ NAME β¨
Image::ExifTool::WritePNG.pl β literally the file that writes PNG meta information π
πΈ SYNOPSIS πΈ
so here's the vibe: these routines are not something you call yourself, okay? They get autoloaded by Image::ExifTool::PNG. That's it, that's the whole synopsis, the module handles the handshake for you π
π DESCRIPTION π
This file is where the routines that write PNG metadata live. That's the whole job. She writes, she slays, she goes home π«Ά
π₯ NOTES π₯
okay listen up because this part actually matters, no cap:
Compress::Zlibis required to write compressed text. Not optional. Needed. Periodt.- Existing text tags are always rewritten in their original form β so that's compressed
zTXt, uncompressedtEXt, or internationaliTXt, whichever one it already was, no switching up on it. Which means: pre-existing compressed information can only be modified ifCompress::Zlibis available. If you don't have it, those compressed tags are staying exactly how they are π - Newly created textual information gets written in uncompressed
tEXtform by default. Or you can get compressedzTXtinstead if you use theCompressoption andCompress::Zlibis available β but heads up, it only actually compresses if the resulting compressed data ends up smaller than the original text. And fr fr, that is not always the case for short text strings. Short strings stay chunky, that's just physics π
ngl, the whole compression situation is giving "it depends" and we respect her for being honest about it π
π AUTHOR π
Copyright 2003-2026, Phil Harvey (philharvey66 at gmail.com) π
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
π SEE ALSO π
go read those too bestie, they're iconic β
and that's the whole page!! this is perl v5.42.1, dated 2026-03-31, coming at you straight from Image::...WritePNG(3) β mwah, take care of your PNGs π
β¨
π¦ where this page comes from
- fedora 43: perl-Image-ExifTool 13.50-1.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- fedora 44: perl-Image-ExifTool 13.50-1.fc44 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms