in reply to Converting Text from PDF using CAM::PDF
#!/usr/bin/perl use strict; use warnings; use CAM::PDF; convert_pdf_to_text(); sub convert_pdf_to_text { use CAM::PDF::PageText; my $pdf_filename = '/path/to/pdf'; my $pdf = CAM::PDF->new($pdf_filename); my $y = $pdf->getPageContentTree(1); print CAM::PDF::PageText->render($y); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Converting Text from PDF using CAM::PDF
by mr_p (Scribe) on Jun 22, 2010 at 20:42 UTC | |
by ww (Archbishop) on Jun 22, 2010 at 22:35 UTC | |
by Khen1950fx (Canon) on Jun 22, 2010 at 23:23 UTC | |
by ww (Archbishop) on Jun 23, 2010 at 00:12 UTC | |
by Anonymous Monk on Jun 22, 2010 at 23:36 UTC |