Searched refs:dither (Results 1 – 4 of 4) sorted by relevance
/php-src/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-src/ext/gd/ |
H A D | gd.stub.php | 495 function imagetruecolortopalette(GdImage $image, bool $dither, int $num_colors): bool {} argument
|
H A D | gd.c | 719 bool dither; in PHP_FUNCTION() local 725 Z_PARAM_BOOL(dither) in PHP_FUNCTION() 736 if (gdImageTrueColorToPalette(im, dither, (int)ncolors)) { in PHP_FUNCTION()
|
H A D | gd_arginfo.h | 27 ZEND_ARG_TYPE_INFO(0, dither, _IS_BOOL, 0)
|
Completed in 24 milliseconds