pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tilman Hausherr <THaush...@t-online.de>
Subject Re: Should PDColor toCOSArray include the pattern name?
Date Tue, 04 Aug 2015 16:30:56 GMT
Am 04.08.2015 um 17:30 schrieb Andrea Vacondio:
> Hi, this is somehow related to
> https://issues.apache.org/jira/browse/PDFBOX-2830
> the PDColor::toCOSArray method adds the pattern name (if present) to the
> end of the array but as far as I can tell from the spec it shouldn't. The
> C, BC and IC description says something like "An array of numbers that
> shall be in the range 0.0 to 1.0 and shall specify ..bla bla... The number
> of array elements determines the colour space in which the colour shall be
> defined".
> Am I correct?
>

The problem is that the color is also used for the scn operator, where a 
pattern is needed.

You are correct if you mean that it might be possible to pass a 
patterned colorspace to a C / BC / IC description.

Tilman

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org


Mime
View raw message