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               $info->process_file($source, $options);
25
26       Processes one file and sets the found info fields in the $info object.
27

AUTHOR

29       Gisle Aas.
30

LICENSE

32       This library is free software; you can redistribute it and/or modify it
33       under the same terms as Perl itself.
34
35
36
37perl v5.30.0                      2019-07-26               Image::Info::PPM(3)
Impressum