gd_get_color - Returns a color index.
gd_get_color (gd:variable, color:"string");
This function is used to get a color index from the image.
Color index can be used in drawing function.
To use this module, you must specify the following in /usr/local/website/site.conf:
Module gd { Library : "/usr/local/lib/libsngd.so" Init : "sngd_init" }
red = gd_get_color(gd:im, color:Red); cyan = gd_get_color(gd:im, color:Cyan); white = gd_get_color(gd:im, color:White);
Written by Pierre Laplante and Caroline Laplante, <laplante@sednove.com>
Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis.
1.0 2014-09-09 21:24:14 laplante@sednove.com