USAGE:
within prog - unit
#loadlib "color.so"
Contents:
Routines for color conversions
____________
Routines for color conversions:
- colorConv(afY1,afY2,afY3, afX1,afX2,afX3, mode):
- -- convert color spaces afX.[] to afY.[].
Return iDim, or negative on error. iDim is min of all given float vectors.
Requires |afX_i|=|afY_i|;
mode is composed 3-digit number: S0T, where S(ource) and T(arget) have number according to the following list:
RGB 1 [0..255]
rgb 2 [0..1]
XYZ 3
xyY 4
HSV 5
Luv 6
Lab 7
LCH 8
See also:
prog_unit, vector.so, spectral.so, and a few examples in
neo -i +/homes/walter/p/nst5/jwexpl
Id
FILE
/local/homes/rhaschke/nst7/man/../o.linx86//../foldersrc/color.c