pdfImageExtractor | The python util for extract images from PDF | Document Editor library

 by   Gaia3D Python Version: Current License: GPL-2.0

kandi X-RAY | pdfImageExtractor Summary

kandi X-RAY | pdfImageExtractor Summary

pdfImageExtractor is a Python library typically used in Editor, Document Editor applications. pdfImageExtractor has no bugs, it has no vulnerabilities, it has a Strong Copyleft License and it has low support. However pdfImageExtractor build file is not available. You can download it from GitHub.

The python util for extract images from PDF.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              pdfImageExtractor has a low active ecosystem.
              It has 8 star(s) with 0 fork(s). There are 4 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              pdfImageExtractor has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of pdfImageExtractor is current.

            kandi-Quality Quality

              pdfImageExtractor has no bugs reported.

            kandi-Security Security

              pdfImageExtractor has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              pdfImageExtractor is licensed under the GPL-2.0 License. This license is Strong Copyleft.
              Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.

            kandi-Reuse Reuse

              pdfImageExtractor releases are not available. You will need to build from source code and install.
              pdfImageExtractor has no build file. You will be need to create the build yourself to build the component from source.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi has reviewed pdfImageExtractor and discovered the below as its top functions. This is intended to give you an instant insight into pdfImageExtractor implemented functionality, and help decide if they suit your requirements.
            • Parse command line arguments
            • Print help message
            • Return the TIFF header for CCITT
            Get all kandi verified functions for this library.

            pdfImageExtractor Key Features

            No Key Features are available at this moment for pdfImageExtractor.

            pdfImageExtractor Examples and Code Snippets

            No Code Snippets are available at this moment for pdfImageExtractor.

            Community Discussions

            QUESTION

            Why is a scanned pfd page returned in 90 clockwise rotation - when extracting it as an image?
            Asked 2019-Nov-12 at 15:20

            I have used iText 7 for transforming a pdf page, that is just an image (from a scanned document) to an image, so that i can process it with ocr. For some pdf files this works very fine, but for others the image "extracted" from it is returned with a 90 degree rotation!

            Considering the documents that work fine: I open word, put in some text and pictures and then convert the file to pdf. When using iText 7 for such files i get the text and images out with no problem at all!

            Considering the documents that cause a problem: I scann a letter and get a pdf file X to my email. X only has an image layer. If i parse X with iText 7 and create a new image from the byte Array i get (using an EventListener for Event type Render_IMAGE), the image is created with a 90 degree rotation???

            So for both documents i use the same c# code, but the output is diffrent...

            I have used the output image from X (the one with rotation) and converted it to a pdf file. Lets call this Y. So when i create an image from Y again, the new image is not rotated compared to Y! - I just did this for a test, to see if the image will always be rotated or not...

            //Implementation for IEventListener:

            ...

            ANSWER

            Answered 2019-Nov-12 at 15:20

            The bitmap image you extract is exactly as it is stored as a resource in the PDF (at least orientation-wise). But whenever a bitmap resource is drawn, it is subject to the current transformation matrix at the time of its drawing, and this current transformation can rotate, skew, translate, and stretch the bitmap considerably.

            You can retrieve the value of the current transformation matrix at the time the bitmap is drawn from the ImageRenderInfo renderInfo using

            Source https://stackoverflow.com/questions/58820024

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install pdfImageExtractor

            You can download it from GitHub.
            You can use pdfImageExtractor like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/Gaia3D/pdfImageExtractor.git

          • CLI

            gh repo clone Gaia3D/pdfImageExtractor

          • sshUrl

            git@github.com:Gaia3D/pdfImageExtractor.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link