christian-vigh-phpclasses / PdfToText

Extracts text from PDF files
Other
125 stars 93 forks source link

PdfToText not reading files created or modified with PDFelement #44

Open Shermalc opened 3 years ago

Shermalc commented 3 years ago

I use PdfToText for a project of mine, where I noticed pdf files generated with MS Word, are read fine. However, pdfs made with software such as Wondershare PDF Element produce a blank output. Is this because of layers? PDF element is efficient software I use mainly to edit existing PDFs. Just trying to understand why PdfToText gives no output.

test1.pdf created in MS Word 2019 and exported as a pdf test2.pdf created in PDFelement test1_copy created in MS Word and edited with PDFelement test_flattened same as test1_copy, just flattened with PDFelement test1.pdf test1_copy.pdf test1_flattened.pdf test2.pdf

Great Code. Keep it up