diff options
author | Ken Sharp <ken.sharp@artifex.com> | 2021-08-27 14:13:31 +0100 |
---|---|---|
committer | Ken Sharp <ken.sharp@artifex.com> | 2021-08-27 14:14:26 +0100 |
commit | 8b6c8a577375d482f81e0688ee54a0697ce18e4e (patch) | |
tree | ad977fd840b0d5f2f732f17c683e1d45f660ab7d /pcl/pl | |
parent | d6b218d9a6ed5f41e9859476d8c7a4e75570ccee (diff) | |
download | ghostpdl-8b6c8a577375d482f81e0688ee54a0697ce18e4e.tar.gz |
GhostPDF - Create Lab-compatible Decode array if required
If an image does not have a /Decode array we manufacture one for it.
However, we always created an array with 2 * number of components where
each component was [0 1].
This doesn't work at all well for Lab colour spaces!
Instead we now create a Decode array where the L component is [0 100],
the a component is [mina maxa] and the b component is [minb maxb] as
specified in the PDF Reference. the a and b components minima and maxima
are retrieved from the colour space Range values.
Diffstat (limited to 'pcl/pl')
0 files changed, 0 insertions, 0 deletions