Giter Club home page Giter Club logo

Comments (5)

ncheungg avatar ncheungg commented on September 3, 2024 1

There seems to be a solution to this in the latest update using the -hide-annotations flag

More info here: https://www.systutorials.com/docs/linux/man/1-pdftoppm/#:~:text=Pdftoppm%20converts%20Portable%20Document%20Format,%2C%20PPM%2Droot%2Dnumber.

from pdf2image.

Belval avatar Belval commented on September 3, 2024

I am pretty sure this has to do with the xpdf backend. This "boxing" also exists in TexMaker which might be relying on the same library.

See: https://www.xpdfreader.com/

from pdf2image.

Belval avatar Belval commented on September 3, 2024

Closing for lack of activity. Feel free to reopen and/or reply if you found a solution.

from pdf2image.

Belval avatar Belval commented on September 3, 2024

That's very interesting, I'll try to confirm that this fixes the issue. We'd have to fix the version detection code first but aside from that it should be straight forward.

from pdf2image.

StaticRocket avatar StaticRocket commented on September 3, 2024

Hey, I'm looking at adding support for this flag. Could you let me know what you think about this:

  • I figured by default this should be disabled. (Attributes are shown unless told to be hidden.)
  • A check makes sure that the user has poppler <= 0.83 (as this flag wasn't available until after 0.83)
    • If they don't have a new enough version it is treated like jpegopt and set back to it's default
  • If the user enables pdftocario with this flag a NotImplementedError is raised informing the user that this flag is not implemented by pdftocario yet

I'm not entirely sure about that last one though. It seems like you are keen on making sure the library does it's best at meeting the requirements of the user without whining about incompatible flags.

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.