Searched refs:ncolors (Results 1 – 4 of 4) sorted by relevance
39 number = image.ncolors; in gdImageCreateFromXpm()
946 int i, x, ncolors; local1088 ncolors = 0;1092 colorlist[ncolors++] = (JSAMPLE) i;1094 return ncolors;
1667 long ncolors; in PHP_FUNCTION() local1670 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rbl", &IM, &dither, &ncolors) == FAILURE) { in PHP_FUNCTION()1676 if (ncolors <= 0) { in PHP_FUNCTION()1680 gdImageTrueColorToPalette(im, dither, ncolors); in PHP_FUNCTION()
6245 - Fixed bug #34996 (ImageTrueColorToPalette() crashes when ncolors is zero).
Completed in 39 milliseconds