Tk::PNG - PNG loader for Tk::Photo


Tk documentation Contained in the Tk distribution.

Index


Code Index:

NAME

Top

Tk::PNG - PNG loader for Tk::Photo

SYNOPSIS

Top

  use Tk;
  use Tk::PNG;

  my $image = $widget->Photo('-format' => 'png', -file => 'something.png');




DESCRIPTION

Top

This is an extension for Tk which supplies PNG format loader for Photo image type.

HISTORY

Top

This extension is by default bundled with Perl/Tk since Tk804.

AUTHOR

Top

Nick Ing-Simmons <nick@ing-simmons.net>

SEE ALSO

Top

Tk::Photo.


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__