PNG(3)
πΈ NAME πΈ
Tk::PNG β PNG loader for Tk::Photo, periodt. This is the PNG(3) page from the perl/Tk Documentation, bestie, and it's literally all about loading PNGs into Tk photos. Iconic.
β¨ SYNOPSIS β¨
Okay so you just do this, no cap:
use Tk;
use Tk::PNG;
my $image = $widget->Photo('-format' => 'png', -file => 'something.png');
That's the whole vibe. Slay.
π¦ DESCRIPTION π¦
This is an extension for Tk which supplies PNG format loader for Photo image type. So yeah β it gives Photo images the power to load PNG format. Main character energy for your image loader, honestly. π
π HISTORY π
This extension is by default bundled with Perl/Tk since Tk804. So it's been riding with Perl/Tk by default since then β lowkey iconic. β¨
π AUTHOR π
Nick Ing-Simmons <nick@ing-simmons.net> β thank you for your service, bestie. π«Ά
π SEE ALSO π
Tk::Photoβ go read that too, iykyk.
Mwah π
this page is from Tk4.004, dated 2025-07-31, and its manual name is PNG(3). Byeee! π
π¦ where this page comes from
- alpine 3.23: perl-tk-doc 804.036-r8 Β· TCL AND HPND-Pbmplus AND CC-BY-SA-3.0 AND MIT-open-group AND MIT
- alpine 3.24: perl-tk-doc 804.036-r8 Β· TCL AND HPND-Pbmplus AND CC-BY-SA-3.0 AND MIT-open-group AND MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms