Searched refs:brightness (Results 1 - 3 of 3) sorted by relevance

/PHP_TRUNK/ext/gd/libgd/
H A Dgd_filter.c81 /* Set the brightness level <level> for the image src */
82 int gdImageBrightness(gdImagePtr src, int brightness) argument
91 if (src==NULL || (brightness < -255 || brightness>255)) {
95 if (brightness==0) {
108 r = r + brightness;
109 g = g + brightness;
110 b = b + brightness;
H A Dgd.h779 /* Set the brightness level <brightness> for the image src */
780 int gdImageBrightness(gdImagePtr src, int brightness);
/PHP_TRUNK/ext/gd/
H A Dgd.c4638 long brightness, tmp; local
4640 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zll", &SIM, &tmp, &brightness) == FAILURE) {
4650 if (gdImageBrightness(im_src, (int)brightness) == 1) {

Completed in 12 milliseconds