CAM::PDF::Renderer::Images - Find all of the images in a page
Contents
Description
This class is used to identify all image nodes in a page content tree.
Functions
$self->new()
Creates a new renderer.
$self->clone()
Duplicates an instance. The new instance deliberately shares its "images" property with the original
instance.
$self->Do(DATA...)
Record an indirect image node.
$self->BI(DATA...)
Record an inline image node.
License
See CAM::PDF.
Name
CAM::PDF::Renderer::Images - Find all of the images in a page
Synopsis
use CAM::PDF;
my $pdf = CAM::PDF->new($filename);
my $contentTree = $pdf->getPageContentTree(4);
my $gs = $contentTree->findImages();
my @imageNodes = @{$gs->{images}};
