pankaj_it09 has asked for the wisdom of the Perl Monks concerning the following question:
my ($fileName) = @_; unless(CAM::PDF->new($fileName)) { return; } my $pdf = CAM::PDF->new($fileName); my $numOfPages = $pdf->numPages(); for(my $i=1; $i<=$numOfPages;$i++) { $text = $pdf->getPageText($i); } $pdf->cleanse();
Expected stream open tag 20 stream^Mq^Mq^M323 0 0 188 0 0 cm^M /I1 Do^MQ^M...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Parsing PDF file
by Corion (Patriarch) on Nov 19, 2008 at 08:42 UTC | |
|
Re: Parsing PDF file
by moritz (Cardinal) on Nov 19, 2008 at 08:41 UTC | |
|
Re: Parsing PDF file
by pankaj_it09 (Scribe) on Nov 16, 2009 at 13:37 UTC |