Skip to content

feat: ICCBased color space (ISO 32000-2 §8.6.5) (Block F) #27

@ralflang

Description

@ralflang

ICCBased Color Space

Implement ICCBasedColorSpace class wrapping an ICC profile stream.

ContentStreamBuilder and PdfWriter need setFillColorIcc() / setStrokeColorIcc() or a unified Color approach supporting ICC profiles.

PdfSerializer embeds the ICC profile as a stream object, references it from the page resource dictionary's /ColorSpace entry.

Required for valid PDF/A output. OutputIntents reference a destination profile but page content must use matching ICC color space.

Tests: ICC profile stream present in output, /ColorSpace dictionary references profile object, color operators use /CSn cs syntax.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions