http://www.perlmonks.org?node_id=1012402

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.
#! 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);
Thanks