blob: 6565c4157b3f156320875bad9529a84e40450af0 (
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
51
52
53
54
55
56
57
|
package Tk::JPEG;
require DynaLoader;
use vars qw($VERSION);
$VERSION = '4.003'; # was: sprintf '4.%03d', q$Revision: #2$ =~ /\D(\d+)\s*$/;
use Tk 800.015;
require Tk::Image;
require Tk::Photo;
require DynaLoader;
use vars qw($VERSION $XS_VERSION);
@ISA = qw(DynaLoader);
$XS_VERSION = $Tk::VERSION;
bootstrap Tk::JPEG;
1;
__END__
=head1 NAME
Tk::JPEG - JPEG loader for Tk::Photo
=head1 SYNOPSIS
use Tk;
use Tk::JPEG;
my $image = $widget->Photo('-format' => 'jpeg', -file => 'something.jpg');
=head1 DESCRIPTION
This is an extension for Tk which supplies
JPEG format loader for Photo image type.
JPEG access is via release 5 of the The Independent JPEG Group's (IJG)
free JPEG software.
=head1 HISTORY
This extension works for Tk800.015 and later and 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
|