Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #13349

Re: PDF extract text

From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Newsgroups comp.lang.php
Subject Re: PDF extract text
Date 2014-04-07 19:38 +0200
Organization PointedEars Software (PES)
Message-ID <2244514.pPlKL3OpOf@PointedEars.de> (permalink)
References <lhtavi$dh$1@online.de> <vilain-D1C9B6.08533507042014@news.individual.net>

Show all headers | View raw


Michael Vilain wrote:

>  Philipp Kraus <philipp.kraus@flashpixx.de> wrote: 
>> how can I extract text, images and other structures can be ignored,
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>> with PHP from a PDF file?
>> We have a lot of LaTeX PDFs and Powerpoint PDFs and would like to
                    ^^^^^          ^^^^^^^^^^
>> extract only the text content
>> to create a text analysis of the content eg for LaTeX scripts we would
>> like the chapter structure as well.
>> 
>> Is there any solution to do this with build-in PHP functions?
> 
> I tried a bunch of stuff to read some bank statements that were in PDF
> format so I could import them via CSV.  Didn't work out so well. Adobe's
> OCR feature only works if the PDFs are unlocked to allow it.  I found an
> application that would do that but the OCRed text was unusable.
> 
> So, my question is "what's generating the PDF files?"

The ability to read can be of advantage sometimes …

> Can you get whomever to do it in text or some other format? 

OMG.  One can leave it to you to give the worst possible technical advice.

> If they're encrypted images, then you've got a lot of work to do in order
> to get some output. Maybe.

Nobody but you is talking about images and OCR.  You really don't have a 
clue what PDF is, do you?

-- 
PointedEars

Twitter: @PointedEars2
Please do not Cc: me. / Bitte keine Kopien per E-Mail.t r

Back to comp.lang.php | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

PDF extract text Philipp Kraus <philipp.kraus@flashpixx.de> - 2014-04-07 06:53 +0200
  Re: PDF extract text Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-04-07 13:44 +0200
    Re: PDF extract text Christoph Michael Becker <cmbecker69@arcor.de> - 2014-04-07 21:52 +0200
      Re: PDF extract text Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-04-07 22:12 +0200
  Re: PDF extract text Michael Vilain <vilain@NOspamcop.net> - 2014-04-07 08:53 -0700
    Re: PDF extract text Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-04-07 19:38 +0200

csiph-web