Searched refs:RGB (Results 1 - 2 of 2) sorted by relevance

/PHP_TRUNK/ext/gd/tests/
H A Dsimilarity.inc9 * Gets the individual components of an RGB value.
20 // assumes $color is an RGB value
27 * Calculates the euclidean distance of two RGB values.
/PHP_TRUNK/ext/gd/libgd/
H A Dgd.c301 #define RETURN_RGB(r, g, b) {RGB->R = r; RGB->G = g; RGB->B = b; return RGB;}
331 static HWBType * RGB_to_HWB (RGBType RGB, HWBType * HWB) argument
334 * RGB are each on [0, 1]. W and B are returned on [0, 1] and H is
338 float R = RGB.R, G = RGB.G, B = RGB.B, w, v, b, f;
367 * more visually correct than the current RGB metri
[all...]

Completed in 21 milliseconds