Skip to content

Indexed colour space not completely conforming #75

@MilkFather

Description

@MilkFather

Excerpt from PDF 1.7 (ISO 32000:2008) specification from Adobe:

8.6.6.3 Indexed Colour Spaces

An Indexed colour space shall be defined by a four-element array:

[/Indexed base hival lookup]

...(omitted)...

The base parameter shall be an array or name that identifies...

The current API in ColorSpace<'a> only allows the base parameter to be a name (source) and does not allow an array.

As a result, I cannot specify CalRGB, CalGray, IccBased or similar colour spaces as the base colour space, all of whom require an array to describe them.

Is it possible to extend the API to handle the array case, or is there a workaround?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions