GithubHelp home page GithubHelp logo

Comments (7)

arathra avatar arathra commented on August 13, 2024

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.

Pajservices avatar Pajservices commented on August 13, 2024

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.

arathra avatar arathra commented on August 13, 2024

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.

arathra avatar arathra commented on August 13, 2024

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.

Pajservices avatar Pajservices commented on August 13, 2024

from pdftotext.

niklaus133 avatar niklaus133 commented on August 13, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.