Searched refs:ncolors (Results 1 – 3 of 3) sorted by relevance
34 number = image.ncolors; in gdImageCreateFromXpm()
839 int i, x, ncolors; in find_nearby_colors() local969 ncolors = 0; in find_nearby_colors()973 colorlist[ncolors++] = (JSAMPLE) i; in find_nearby_colors()975 return ncolors; in find_nearby_colors()
1584 zend_long ncolors; in PHP_FUNCTION() local1587 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rbl", &IM, &dither, &ncolors) == FAILURE) { in PHP_FUNCTION()1595 if (ncolors <= 0 || ZEND_LONG_INT_OVFL(ncolors)) { in PHP_FUNCTION()1599 if (gdImageTrueColorToPalette(im, dither, (int)ncolors)) { in PHP_FUNCTION()
Completed in 19 milliseconds