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