The Knoware RPIX% always returns the "native" colour code, so in mode 16 the value is the 1 byte colour code, and in mode 32/33 the corresponding two byte code. To use those codes to set ink, paper, block colour etc you need to first set the per job colour definition, ie in this case COLOUR_NATIVE. (For the RPIX24 function, set the colour definition to COLOUR_24.)stevepoole wrote:<>
Per's RPIX% seems to get that problem right, but the returned (16 bit ?) colours cannot be reused as INK values for shading...
So, is there a way of getting the original 256 INK colours from the 16 bit returned values when using QPC2?
<>
Any suggestions ? Steve.
________________________
The colour definition setting is only valid until it is changed, so if you need to switch back to COLOUR_QL you can.
HTH