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

Wrong size in rendering of some artifacts

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.8.13, 2.0.5
    • 1.8.14, 2.0.6, 3.0.0 PDFBox
    • Rendering
    • None

    Description

      Seems that some artifacts get the wrong width when rendering. I've tested my way to that the artifact is a stroked line and it seems the stroke width is larger than a single pixel and stroke width might only be applied to how wide a stroke is and the length of the stroke might have a minimal length? Poppler seem to handle this stroke correctly.

      ----- OFF TOPIC
      We do text extraction with PDFBox and use poppler today to extract our images because we had a lot of artifacts earlier but with the tremendous work by the team to solve PDFBOX-3000 issues we are looking into using PDFBox for image rendering. A lot of our examples have even more details than the poppler rendered images.
      Great work people.

      Attachments

        1. example1.pdf
          349 kB
          Daniel Persson
        2. example1-pdfbox1.png
          1.33 MB
          Daniel Persson
        3. example1-poppler-1.png
          1.36 MB
          Daniel Persson
        4. PDFBOX-3724_reduced.pdf
          0.7 kB
          Tilman Hausherr

        Activity

          People

            tilman Tilman Hausherr
            kalaspuffar Daniel Persson
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: