• Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8.2, 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: None


      I'd like to improve the tests for rendering.

      org/apache/pdfbox/util/ is disabled in pdfbox\pom.xml . This has been disabled since 2009 ?! So I enabled it here.

      The subdir "rendering" is missing in pdfbox\target\test-output for these tests

      When a test fails because the rendered image is not identical, no detailed message appears on the console. It appears only in pdfbox.log and not on the console.

      this is because of the settings in

      If this is on purpose, please change the texts in pdfbox\src\test\java\org\apache\pdfbox\util*.java from

      "One or more failures, see test log for details"


      "One or more failures, see test logfile 'pdfbox.log' for details"

      I wanted to attach a PDF with ccitt g4 compression and its rendering created with the 1.8.2 version, but it doesn't work out, seems that CIB generates files that can be rendered properly with 1.8.2. However I attach the TIFF g4 file, and a JBIG2 test file from it. I don't have access to a Xerox WorkCentre (enter jbig2 in google news ) so I used a free service, so there's a watermark.

      It should be included into
      I have created the image myself and I give it into the public domain.

      If my suggestion is accepted, it would be nice if people could create files that fail in current versions or have failed in old versions, and release these files to the public domain, so that they can be added to the tests.

      1. jbig2test.pdf
        15 kB
        Tilman Hausherr
      2. jbig2test-01.png
        96 kB
        Tilman Hausherr
      3. ccitt4.tif
        15 kB
        Tilman Hausherr

        Issue Links



            • Assignee:
              Tilman Hausherr
              Tilman Hausherr
            • Votes:
              0 Vote for this issue
              3 Start watching this issue


              • Created: