mr_p has asked for the wisdom of the Perl Monks concerning the following question:
I am using CAM::PDF and get the below error message. I have searched the internet and found that this is existing problem which came after Adobe 9 which was released in 6/25/2008 and last change made to CAM::PDF was 10/2008, which leads me to believe that this problem was never fixed.
Has anyone come across this problem and guide me to what to do? I have read previous threads and they were not helpful to me.
The PDF is not corrupted. It is from legit source.
sub convert_pdf_to_text { use CAM::PDF; use CAM::PDF::PageText; my $pdf = CAM::PDF->new($pdf_filename) || die "$CAM::PDF::errstr\n +"; my $y=CAM::PDF::PageText->render($pdf->getPageContentTree(1)); print "$y\n"; } }
This is error string from: $CAM::PDF::errstr
ThanksInvalid xref stream: could not decode objstream 68
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Converting Text from PDF using CAM::PDF
by almut (Canon) on Jun 23, 2010 at 00:09 UTC | |
by Anonymous Monk on Oct 24, 2011 at 00:27 UTC | |
|
Re: Converting Text from PDF using CAM::PDF
by Khen1950fx (Canon) on Jun 23, 2010 at 05:32 UTC | |
by mr_p (Scribe) on Jun 23, 2010 at 14:50 UTC | |
|
Re: Converting Text from PDF using CAM::PDF
by Khen1950fx (Canon) on Jun 22, 2010 at 20:13 UTC | |
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 |