Skip to content

6.2.2-3 for device color spaces when page does not contain /Resources #1619

Description

@shibaev

For pdfa4 6.2.2-3.pdf, PDF/A-4 validation in veraPDF fails with the following 6.2.2-3 description:

A content stream references named resource(s) DeviceGray,DeviceRGB not defined by a resource dictionary

The document uses RGB output intent. The corresponding content stream does not use explicit named resources.

veraPDF shows the following warnings during the validation:

WARNING: Missing /Resources entry or inherited resources in the page dictionary
SEVERE: Undefined color space /DeviceGray in a content stream
SEVERE: Undefined color space /DeviceRGB in a content stream

Adding /Resources<<>> to the page dictionary is enough to fix this problem. So, the issue relate to missing /Resources. At the same time, there are no similar issues for PDF/A-1, PDF/A-2, PDF/A-3.

If veraPDF does not allow missing /Resources - it should report more precise error message. And probably other PDF/A parts should require /Resources too because the description of the Resources key looks the same since PDF 1.3.

If veraPDF allows missing /Resources - it should not report 6.2.2-3.

Metadata

Metadata

Assignees

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions