Skip to content

Fix Typo in PdfA1Checker.CheckPageColorsUsages #237

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

craffael
Copy link
Contributor

There seems to be a typo in PdfA1Checker.cs which fails PDF Documents which have no device dependent color spaces
(rgbUserObject,, cmykUsedObjects, grayUsedObjects all empty).

The PdfA2Check has it correct.

According to https://pdfa.org/wp-content/uploads/2011/08/tn0002_color_in_pdfa-1_2008-03-141.pdf it is not necessary to have an output intent, if e.g. only ICCBased colors are used.

There seems to be a typo in PdfA1Checker.cs which fails PDF Documents
which have no device dependent color spaces
(rgbUserObject,, cmykUsedObjects, grayUsedObjects all empty).

The PdfA2Check has it correct.
@vitali-pr
Copy link
Contributor

vitali-pr commented May 15, 2025

Hi @craffael ,
Would you mind signing the Contributor License Agreement and send back to us? The details are available at https://itextpdf.com/en/how-buy/legal/itext-contributor-license-agreement - it's required in order to merge the PR.

@craffael
Copy link
Contributor Author

Hi @vitali-pr I sent you the CLA basically after I created the PR. If you haven't received it, let me know and I can send it agian.

@vitali-pr
Copy link
Contributor

Hi @vitali-pr I sent you the CLA basically after I created the PR. If you haven't received it, let me know and I can send it agian.

Yeah, received it.

@introfog introfog self-assigned this Jun 3, 2025
@introfog
Copy link
Contributor

introfog commented Jun 4, 2025

Hi @craffael
Thanks a lot for your contribution! Your changes have been merged in commit db4f192.
Also we've added tests to cover the fix.

@introfog introfog closed this Jun 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants