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?
Excerpt from PDF 1.7 (ISO 32000:2008) specification from Adobe:
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,IccBasedor 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?