CAM::P...Images(3pm)
β¨ NAME β¨
CAM::PDF::Renderer::Images β bestie, this is the one that goes and finds all of the images in a page π (also known as CAM::P...Images(3pm) if you're reading the man page header, iykyk)
π LICENSE π
See CAM::PDF. That's it, that's the whole thing, go look there π«Ά
πΈ SYNOPSIS πΈ
Okay so here's the whole vibe, literally copy-paste this:
use CAM::PDF;
my $pdf = CAM::PDF->new($filename);
my $contentTree = $pdf->getPageContentTree(4);
my $gs = $contentTree->findImages();
my @imageNodes = @{$gs->{images}};
Like. Look at her go. Page 4's images? Found. Slay β¨
π¦ DESCRIPTION π¦
This class is the class you use to identify every single image node in a page content tree. No cap. That's her whole job and she ate π₯
π FUNCTIONS π
$self->new()β makes a brand new renderer for you, fresh out the box π$self->clone()β duplicates an instance. And listen, this is important: the new instance deliberately shares its"images"property with the original instance. Not a bug. On purpose. Periodt π$self->Do(DATA...)β records an indirect image node π$self->BI(DATA...)β records an inline image node π
π AUTHOR π
See CAM::PDF.
and that's the whole page bestie, no crumbs left π
shoutout to perl v5.36.0 and the date 2022-12-08 β that's the version and timestamp on this bad boy, mwah π
π¦ where this page comes from
- debian bookworm: libcam-pdf-perl 1.60-5 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libcam-pdf-perl 1.60-5 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libcam-pdf-perl 1.60-5 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libcam-pdf-perl 1.60-5 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libcam-pdf-perl 1.60-5 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms