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

renderer.setSubsamplingAllowed(true) causing the picture to blur

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.27
    • 2.0.28, 3.0.0 PDFBox
    • None
    • None

    Description

      renderer.setSubsamplingAllowed(true) causing the picture to blur.
      This causes the following words to be obscured.

      hi!Is there a way to customize the getSubsampling method?like this.
      I want to display the original image within the specified width and height

      Attachments

        1. test-sub-subsampled.jpg
          463 kB
          Tilman Hausherr
        2. test-sub-notsubsampled.jpg
          462 kB
          Tilman Hausherr
        3. test.pdf
          433 kB
          liu
        4. screenshot-3.png
          322 kB
          liu
        5. screenshot-2.png
          210 kB
          liu
        6. screenshot-1.png
          192 kB
          liu

        Activity

          People

            tilman Tilman Hausherr
            lycheng liu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: