-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PDF/A. Update rules about BitsPerComponent
- Loading branch information
1 parent
a10d630
commit 1aaa2a6
Showing
6 changed files
with
78 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
PDF_A/1b/6.2 Graphics/6.2.4 Images/verapdf-profile-6-2-4-t05.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<profile xmlns="http://www.verapdf.org/ValidationProfile" flavour="PDFA_1_A"> | ||
<details creator="veraPDF Consortium" created="2023-07-10T10:58:05.420+03:00"> | ||
<name>ISO 19005-1:2005 - 6.2.4 Images - BitsPerComponent in image mask</name> | ||
<description>If an image mask dictionary contains the BitsPerComponent key, its value shall be 1</description> | ||
</details> | ||
<hash></hash> | ||
<rules> | ||
<rule object="PDMaskImage"> | ||
<id specification="ISO_19005_1" clause="6.2.4" testNumber="5"/> | ||
<description>If an image mask dictionary contains the BitsPerComponent key, its value shall be 1</description> | ||
<test>BitsPerComponent == null || BitsPerComponent == 1</test> | ||
<error> | ||
<message>The value of the BitsPerComponent key in the image mask dictionary is %1</message> | ||
<arguments> | ||
<argument>BitsPerComponent</argument> | ||
</arguments> | ||
</error> | ||
<references> | ||
<reference specification="PDF 1.4 Reference" clause="4.8.4, Table 4.35"/> | ||
</references> | ||
</rule> | ||
</rules> | ||
<variables/> | ||
</profile> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
PDF_A/2b/6.2 Graphics/6.2.8 Images/6.2.8.1 General/verapdf-profile-6-2-8-t05.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<profile xmlns="http://www.verapdf.org/ValidationProfile" flavour="PDFA_2_B"> | ||
<details creator="veraPDF Consortium" created="2023-07-10T10:58:05.420+03:00"> | ||
<name>ISO 19005-2:2011 - 6.2.8 Images - BitsPerComponent in image mask</name> | ||
<description>If an image mask dictionary contains the BitsPerComponent key, its value shall be 1</description> | ||
</details> | ||
<hash></hash> | ||
<rules> | ||
<rule object="PDMaskImage"> | ||
<id specification="ISO_19005_2" clause="6.2.8" testNumber="5"/> | ||
<description>If an image mask dictionary contains the BitsPerComponent key, its value shall be 1</description> | ||
<test>BitsPerComponent == null || BitsPerComponent == 1</test> | ||
<error> | ||
<message>The value of the BitsPerComponent key in the image mask dictionary is %1</message> | ||
<arguments> | ||
<argument>BitsPerComponent</argument> | ||
</arguments> | ||
</error> | ||
<references> | ||
<reference specification="ISO 32000-1:2008" clause="8.9.5.1, Table 89"/> | ||
</references> | ||
</rule> | ||
</rules> | ||
<variables/> | ||
</profile> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
PDF_A/4/6.2 Graphics/6.2.7 Images/6.2.7.1 General/verapdf-profile-6-2-7-1-t05.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<profile xmlns="http://www.verapdf.org/ValidationProfile" flavour="PDFA_4"> | ||
<details creator="veraPDF Consortium" created="2023-07-10T10:58:05.420+03:00"> | ||
<name>ISO 19005-4:2020 - 6.2.7 Images - BitsPerComponent in image mask</name> | ||
<description>If an image mask dictionary contains the BitsPerComponent key, its value shall be 1</description> | ||
</details> | ||
<hash></hash> | ||
<rules> | ||
<rule object="PDMaskImage"> | ||
<id specification="ISO_19005_4" clause="6.2.7.1" testNumber="5"/> | ||
<description>If an image mask dictionary contains the BitsPerComponent key, its value shall be 1</description> | ||
<test>BitsPerComponent == null || BitsPerComponent == 1</test> | ||
<error> | ||
<message>The value of the BitsPerComponent key in the image mask dictionary is %1</message> | ||
<arguments> | ||
<argument>BitsPerComponent</argument> | ||
</arguments> | ||
</error> | ||
<references> | ||
<reference specification="ISO 32000-2:2020" clause="8.9.5.1, Table 87"/> | ||
</references> | ||
</rule> | ||
</rules> | ||
<variables/> | ||
</profile> |