gd_set_pixel - Sets a pixel from image.
gd_set_pixel (gd:variable, x:integer, y:integer, color:"string", coloridx:integer);
This function is used to set a pixel form Image.
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" }
color = gd_get_color(gd:im, color:Yellow); for(i=0;i<1000;++i) gd_set_pixel(gd:im, x:i, y:i, coloridx: color); endfor
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