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

PDPage convertToImage generates white image with no contents

    Details

    • Type: Test
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 1.2.1
    • Fix Version/s: None
    • Component/s: PDModel
    • Labels:
      None

      Description

      When converting a PDPage to an image where the mediaBox, cropBox, and trimBox width/height are slightly larger than that of the PDDocument pageFormat height/width, the resulting image appears blank. A warning message appears in the log 'getRGBImage returned NULL'. The PDF is rendered fine.

        Attachments

        1. doc.pdf
          12 kB
          Dan Sabin
        2. doc.png
          8 kB
          Dan Sabin
        3. PDFBOX794-doc1.png
          93 kB
          Andreas Lehmkühler

          Issue Links

            Activity

              People

              • Assignee:
                lehmi Andreas Lehmkühler
                Reporter:
                dsabin Dan Sabin
              • Votes:
                2 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: