Giter Club home page Giter Club logo

Comments (7)

Belval avatar Belval commented on July 29, 2024 1

Of course, (reopening)

To convert the image with pdftoppm, open a terminal (or cmd on Windows) and enter:

pdftoppm -r 200 -cropbox -jpeg in.pdf out

You should see at least one .jpeg file that you can open to see if the conversion was successful.

For all of the above to work, you need to have pdftoppm in your PATH.

from pdf2image.

Belval avatar Belval commented on July 29, 2024

Thank you for using the official bug report template. It helps.

Can you tell me what OS and function call were used to convert your PDF?

Also, I you can send me the actual PDF so I'd have a test case it would be great.

If you feel that your PDF is somewhat sensible (but obviously not confidential) you can send it at [email protected] instead of posting it publicly.

Thank you.

from pdf2image.

arpitchoudhary-gep avatar arpitchoudhary-gep commented on July 29, 2024

Thanks for your fast reply.

I am using windows, convert_from_path function. I will be sending you pdf via email, i will also try to run in it linux.

-Arpit.

from pdf2image.

arpitchoudhary-gep avatar arpitchoudhary-gep commented on July 29, 2024

Sorry i'm unable to send the pdf as it contains confidential information and when i tried to hide it, it changes the structure and then it is able to give the text instead of blank page.

-Arpit

from pdf2image.

Belval avatar Belval commented on July 29, 2024

No problem. I remember someone else having a similar problem and I think it was fixed by using cropbox=True.

You should also try to convert it directly with the pdftoppm and pdftocairo executables.

from pdf2image.

Belval avatar Belval commented on July 29, 2024

Closing for inactivity. Feel free to reopen.

from pdf2image.

MahsaSeifikar avatar MahsaSeifikar commented on July 29, 2024

Closing for inactivity. Feel free to reopen.

No problem. I remember someone else having a similar problem and I think it was fixed by using cropbox=True.

You should also try to convert it directly with the pdftoppm and pdftocairo executables.

Unfortunately, I cannot understand how to convert my pdf directly with 'pdftopmm'. Can you elaborate it with an example?

from pdf2image.

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.