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

PDPage convertToImage generates white image with no contents

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.2.1
    • None
    • PDModel
    • 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. PDFBOX794-doc1.png
          93 kB
          Andreas Lehmkühler
        2. doc.png
          8 kB
          Dan Sabin
        3. doc.pdf
          12 kB
          Dan Sabin

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: