umesh_epub has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
I want to extract pagecontent and their coordinates from pdf any other ways to get the output. Please let me know.Thanks#! perl use strict; use warnings; use CAM::PDF; use CAM::PDF::PageText; my $filename = 'test.pdf'; my $pdf = CAM::PDF->new($filename); my $pageone_tree = $pdf->getPageContentTree(1); print CAM::PDF::PageText->render($pageone_tree);
Back to
Seekers of Perl Wisdom