Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-4929

Image Distorted (PDF to image conversion)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.0.10, 2.0.11, 2.0.12, 2.0.13, 2.0.14, 2.0.15, 2.0.16, 2.0.17, 2.0.18, 2.0.19, 2.0.20
    • Fix Version/s: None
    • Component/s: Rendering
    • Labels:
      None

      Description

      The Image present in PDF is getting distorted while converting the PDF into an image using PDFBox's PDFRenderer API.

      Code used for converting the PDF into image:

      "return new PDFRenderer(document).renderImage(0);"

      There is no warning or error loggers while converting this PDF.

      Please find the original PDF and converted image in attachments.

        Attachments

        1. pdfbox-image-bug.pdf
          7.30 MB
          Abhilash Mishra
        2. converted-image.jpeg
          223 kB
          Abhilash Mishra

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              abhi92.mishra Abhilash Mishra
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: