Image::Info::PPM(3)
π NAME π
Image::Info::PPM β PPM support Image::Info. (Translation: itβs the PPM support situation for Image::Info, bestie β thatβs the whole name vibe.)
okay so this is the Image::Info::PPM(3) corner of the universe: a tiny module whose whole job is adding PPM support to Image::Info. iconic behavior, honestly.
β¨ SYNOPSIS β¨
hereβs the little ritual, exactly as written β copy it, run it, live your truth:
use Image::Info qw(image_info dim);
my $info = image_info("image.ppm");
if (my $error = $info->{error}) {
die "Can't parse image info: $error\n";
}
my($w, $h) = dim($info);
π¦ DESCRIPTION π¦
This module adds ppm support to Image::Info.
It is loaded and used automatically. no cap, it just slides in and does its thing. π«Ά
π METHODS π
process_file()
$info->process_file($source, $options);
Processes one file and sets the found info fields in the $info object. thatβs the tea. π΅
π AUTHOR π
Gisle Aas.
π LICENSE π
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
thatβs the whole page, bestie β brought to you by perl v5.42.0, dated 2024-03-08 π«Άπ
π¦ where this page comes from
- opensuse-leap 16.0: perl-Image-Info 1.440.0-bp160.1.11 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms