RGB_CONV_XL(3ICD)

NAME
rgb_conv_xl - rgb colour conversion table for the paintjet xl.

DESCRIPTION
The rgb colour conversion table file rgb_conv_xlcontains data that specifies the way in which a layer or combination of layers in a layout are converted into a colour for the HP Paintjet xl. Because an 8 layer process can theoretically already have 256 possible layer combinations, a scheme was worked out to specify a range of combinations in a single conversion specification.

Every line in the rgb_conv_xlfile contains two fields. The first specifies a layer combination and the second specifies a colour in the range of 0 through 15 as specified in the rgb_xlfile.

The layer specification field is a series of 0's 1's and X's. The length depends on the number of layers in the process that is used. Every field in the layer specification field represents a layer in the process in reverse order. A 0specifies that the specific layer is not present in the current layer combination field, a 1specifies that the layer is present and an X specifies that whether the layer is present or not is irrelevant.

As an example suppose that there is a process xxxthat consist of three layers, aa, bband cc. The line 000 15in the rgb_convfile would mean that when none of the layers is present, the colour 15 (usually white or black) as defined in rgb_xlis to be used. The line 010 1would mean that if only layer bbis on, colour 1 is to be used. The line 1XX 2would mean that whenever layer aais on, colour 2 is to be used.

The definitions can easely conflict with each other. I.e. consider the lines 1XX 1and XX1 2 In such cases, the latter of the definitions overrules the first one.

The character #is interpreted as comment. Lines beginning with a #are skipped. Everything behind a #is also skipped. The rgb_conv_xlfile must contain at least 16 lines with RGB values.

EXAMPLE
As an example, we show the rgb_conv_xl file for the "c3tu" process:

# SccsId = "@(#)rgb_conv_xl 4.01 (TU-Delft) 25/09/90"
0000000000000		0
0001000000000		6
001X000000000		11
00XX100000000		5
00XXX00000010		2
00XXX000000X1	1
00XXX000001XX	12
00XXX00001XXX	14
00XXX0001XXXX	6
00XXX0010XXXX	11
00XXX0011XXXX	0
00XXX01XXXXXX	1
00XXX1XXXXXXX	3
01XXXXXXXXXXX	15

AUTHOR
A.P. Frehe

FILES
ICDPATH/lib/process/process/rgb_xl
ICDPATH/lib/process/process/rgb_conv_xl
ICDPATH/lib/process/process/fill_style_xl