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

Renderer draws black points

    XMLWordPrintableJSON

Details

    Description

      Hi,

      we use pdfbox to render documents. Now we have scanned documents here, that renders with black points:

      But Acrobat Reader shows this:

      Simple usage:

      PDFRenderer renderer = new PDFRenderer(pdfFile);
      renderer.setSubsamplingAllowed(true);
      renderer.setDefaultDestination(RenderDestination.VIEW);
      BufferedImage rimg = renderer.renderImage(...)
      ...
      g.drawImage(rimg...) 

      pdfbox 2.0.24

       

      Attachments

        1. image-2021-12-03-11-38-30-088.png
          333 kB
          Stefan Schmaltz
        2. image-2021-12-03-11-39-07-953.png
          226 kB
          Stefan Schmaltz
        3. image-2021-12-03-11-39-53-172.png
          271 kB
          Stefan Schmaltz
        4. Stein 21622 Edelstahl-Abdeckung.pdf
          67 kB
          Stefan Schmaltz

        Issue Links

          Activity

            People

              Unassigned Unassigned
              schlocke Stefan Schmaltz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: