Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: Extracting text from PDF. No really

by chrisdolan (Beadle)
on Mar 29, 2008 at 03:20 UTC ( #677164=note: print w/replies, xml ) Need Help??

in reply to Extracting text from PDF. No really

I'm the author of CAM::PDF. Even under the best circumstances, produces barely readable output. My module doesn't have a renderer, so the text extraction is a total hack that I tossed into the module for fun.

I'm quite pleased that other tools have produced good results! CAM::PDF (which I barely maintain anymore, I'm sorry to say) is optimized for high-performance, low-level editing of PDF documents.

  • Comment on Re: Extracting text from PDF. No really

Replies are listed 'Best First'.
Re^2: Extracting text from PDF. No really
by clinton (Priest) on Mar 29, 2008 at 13:04 UTC
    Thanks for responding, Chris. You'd be interested to know (as I mentioned in the OP), that the question "how do I extract text from a PDF" comes up a lot, and that the standard answer is always CAM::PDF.

    After your response, it seems that there is no Perl module for reading/rendering PDFs, and that about the only reliable OOS way to do it is via pdftotext from either Xpdf or Poppler.


Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://677164]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (2)
As of 2023-03-23 17:52 GMT
Find Nodes?
    Voting Booth?
    Which type of climate do you prefer to live in?

    Results (60 votes). Check out past polls.