You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2018/07/24 16:54:00 UTC

[jira] [Created] (PDFBOX-4276) Multiply blend mode not detected

Tilman Hausherr created PDFBOX-4276:
---------------------------------------

             Summary: Multiply blend mode not detected
                 Key: PDFBOX-4276
                 URL: https://issues.apache.org/jira/browse/PDFBOX-4276
             Project: PDFBox
          Issue Type: Bug
          Components: Preflight
    Affects Versions: 2.0.11, 1.8.15, 3.0.0 PDFBox
            Reporter: Tilman Hausherr
            Assignee: Tilman Hausherr
             Fix For: 1.8.16, 2.0.12, 3.0.0 PDFBox
         Attachments: sample_processed.pdf

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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org