Comments (7)
Can I ask if you made any progress with this? We're having exactly the same problem
PHP Warning: Use of undefined constant IMG_JPEG - assumed 'IMG_JPEG' (this will throw an Error in a future version of PHP)
I'm sure it can't just be the 2 of us!
from pdftotext.
Hi Arathra- No sorry I didn't, and gave up on it.
I was trying to create forms in pdf for a client - then read the data out. I found PDFFiller instead and am using that. It will export the fields into an excel format for you.
Phil
from pdftotext.
Thanks for getting back to me, Phil. Shame about that; I guess that means we'll be looking for an alternative as well. We need to "read" users' PDF uploads so while PDFFiller isn't for us, I'm sure something out there will work.
All the best.
from pdftotext.
Hi Phil,
It took a bloody long time but I think I have solved it by using a different PDF converter here: https://github.com/smalot/pdfparser/ along with vendor/autoload.php
It works for me and doesn't produce any errors.
Cheers
from pdftotext.
from pdftotext.
hi I think I have solved it you need to downgrade your php version to 7.4
the problem is in the version 8 of php
from pdftotext.
Related Issues (20)
- Retrieve an Interval of Pages from PDF
- Font Widths from another PDF Object
- Can't read PDF-file HOT 13
- Preserve new lines in pdf after converting to text.
- issue in convert maths paper how can i solve it HOT 6
- extracted images are black HOT 1
- Problem with Euro (€) char HOT 1
- different fonts problem
- No Spaces in between two text
- Converting only parts of the file
- problem with extracting some hebrew font
- How to get PDF form fields and values ?
- High Memory Usage HOT 1
- Causes garbled characters HOT 2
- PdfToText not reading files created or modified with PDFelement
- Extract Data from PDF form Undefined Functions
- Coordinates not recognized HOT 1
- Why is the original image different from the extracted image? HOT 1
- PdfToText returns only spaces but no text
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pdftotext.