Code Monkey home page Code Monkey logo

Comments (4)

jbarlow83 avatar jbarlow83 commented on May 18, 2024

Thanks for the report. The image is visually centred in the page, but the page in this PDF is not located at (0, 0) in PDF coordinates, which is allowed but unusual.

I should have a fix working for the next release.

The warning is for an intermediate single page PDF produced by ocrmypdf using PyPDF2, not your input PDF.

A temporary workaround which fixes both issues is to use --force-ocr. The drawback of using this is that the image will be transcoded, but with a high quality scan and --oversample set you will probably not notice any quality loss.

from ocrmypdf.

femifrak avatar femifrak commented on May 18, 2024

Thanks!

Could you please provide the command on the main page how to update/uninstall ocrmypdf HEAD revision from sources?

Because of my weak memory i always

  • search for the right command,
  • perform it (sudo pip3 uninstall ocrmypdf), and then
  • follow your installation instructions.

(This is my new memo from now on.)

from ocrmypdf.

jbarlow83 avatar jbarlow83 commented on May 18, 2024

Remember I haven't released the change yet, but in one shot you can upgrade without uninstall/reinstall with the following (provided pip is reasonably new, all ducks are sufficiently aligned, enough gods have been sacrificed too):

[sudo] pip3 install --upgrade git+https://github.com/jbarlow83/OCRmyPDF.git

That is buried in the main page, but I will update that to make it clear.

from ocrmypdf.

jbarlow83 avatar jbarlow83 commented on May 18, 2024

Fixed in v4.0.
Hopefully.

from ocrmypdf.

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.