| Tk documentation | Contained in the Tk distribution. |
Tk::PNG - PNG loader for Tk::Photo
use Tk;
use Tk::PNG;
my $image = $widget->Photo('-format' => 'png', -file => 'something.png');
This is an extension for Tk which supplies PNG format loader for Photo image type.
This extension is by default bundled with Perl/Tk since Tk804.
Nick Ing-Simmons <nick@ing-simmons.net>
| Tk documentation | Contained in the Tk distribution. |
package Tk::PNG; require DynaLoader; use vars qw($VERSION); $VERSION = '4.004'; # was: sprintf '4.%03d', q$Revision: #3 $ =~ /\D(\d+)\s*$/; use Tk 800.005; require Tk::Image; require Tk::Photo; use base qw(DynaLoader); bootstrap Tk::PNG $Tk::VERSION; 1; __END__