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

Multiply blend mode not detected

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8.15, 2.0.11, 3.0.0 PDFBox
    • 1.8.16, 2.0.12, 3.0.0 PDFBox
    • Preflight
    • None

    Description

      The attached file should fail the PDF/A-1b check but doesn't. VeraPDF detects the incorrect blendmode at Root/Pages/Kids/[0]/Resources/ExtGState/R9/BM: "The following keys, if present in an ExtGState object, shall have the values shown: BM - Normal or Compatible".

      The cause is that in ExtGStateValidationProcess.extractExtGStateDictionaries() there is a check that the name of the ExtGState matches "(GS|gs)([0-9])+". This has been since the beginning as an Apache project (PDFBOX-1056) and even since the first commit on github (https://github.com/gbm-bailleul/padaf) in 2010.

      I could ask but I don't think that they would know why that decision was made over 8 years ago. My guess is that some code from elsewhere was reused.

      Attachments

        1. sample_processed.pdf
          76 kB
          Tilman Hausherr

        Activity

          People

            tilman Tilman Hausherr
            tilman Tilman Hausherr
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: