summaryrefslogtreecommitdiff
path: root/Master/tlpkg/tlperl/site/lib/Tk/PNG.pm
blob: 399743156458ddea5af3d1951bfe766f832ca54d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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__

=head1 NAME

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

=head1 SYNOPSIS

  use Tk;
  use Tk::PNG;

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


=head1 DESCRIPTION

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

=head1 HISTORY

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

=head1 AUTHOR

Nick Ing-Simmons E<lt>nick@ing-simmons.netE<gt>

=head1 SEE ALSO

L<Tk::Photo>.

=cut