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

/PHP_TRUNK/ext/gd/libgd/
H A Dgd_topal.c946 int i, x, ncolors; local
1088 ncolors = 0;
1092 colorlist[ncolors++] = (JSAMPLE) i;
1094 return ncolors;
H A Dgdxpm.c34 number = image.ncolors;
/PHP_TRUNK/ext/gd/
H A Dgd.c1602 zend_long ncolors; local
1605 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rbl", &IM, &dither, &ncolors) == FAILURE) {
1611 if (ncolors <= 0) {
1615 gdImageTrueColorToPalette(im, dither, ncolors);

Completed in 14 milliseconds