1Image::Info::PPM(3)   User Contributed Perl Documentation  Image::Info::PPM(3)
2
3
4

NAME

6       Image::Info:PPM - PPM support Image::Info
7

SYNOPSIS

9        use Image::Info qw(image_info dim);
10
11        my $info = image_info("image.ppm");
12        if (my $error = $info->{error}) {
13            die "Can't parse image info: $error\n";
14        }
15        my($w, $h) = dim($info);
16

DESCRIPTION

18       This modules adds ppm support to Image::Info.
19
20       It is loaded and used automatically.
21

METHODS

23       process_file()
24
25               $info->process_file($source, $options);
26
27       Processes one file and sets the found info fields in the $info object.
28

AUTHOR

30       Gisle Aas.
31

LICENSE

33       This library is free software; you can redistribute it and/or modify it
34       under the same terms as Perl itself.
35
36
37
38perl v5.8.8                       2006-03-04               Image::Info::PPM(3)
Impressum