Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

CAM::PDF::Renderer::Images - Find all of the images in a page

Author

       See CAM::PDF

perl v5.36.0                                       2022-12-08                    CAM::PDF::Renderer::Images(3pm)

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}};

See Also