Searched refs:dither (Results 1 – 2 of 2) sorted by relevance
/PHP-7.2/ext/gd/libgd/ |
H A D | gd_topal.c | 1429 static int gdImageTrueColorToPaletteBody (gdImagePtr oim, int dither, int colorsWanted, gdImagePtr … 1431 gdImagePtr gdImageCreatePaletteFromTrueColor (gdImagePtr im, int dither, int colorsWanted) in gdImageCreatePaletteFromTrueColor() argument 1434 if (TRUE == gdImageTrueColorToPaletteBody(im, dither, colorsWanted, &nim)) { in gdImageCreatePaletteFromTrueColor() 1440 int gdImageTrueColorToPalette (gdImagePtr im, int dither, int colorsWanted) in gdImageTrueColorToPalette() argument 1442 return gdImageTrueColorToPaletteBody(im, dither, colorsWanted, 0); in gdImageTrueColorToPalette() 1462 static int gdImageTrueColorToPaletteBody (gdImagePtr oim, int dither, int colorsWanted, gdImagePtr … in gdImageTrueColorToPaletteBody() argument 1557 if (dither) in gdImageTrueColorToPaletteBody()
|
/PHP-7.2/ext/gd/ |
H A D | gd.c | 1583 zend_bool dither; in PHP_FUNCTION() local 1587 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rbl", &IM, &dither, &ncolors) == FAILURE) { in PHP_FUNCTION() 1599 if (gdImageTrueColorToPalette(im, dither, (int)ncolors)) { in PHP_FUNCTION()
|
Completed in 17 milliseconds