Home
last modified time | relevance | path

Searched refs:dither (Results 1 – 4 of 4) sorted by relevance

/PHP-8.2/ext/gd/libgd/
H A Dgd_topal.c1429 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-8.2/ext/gd/
H A Dgd.stub.php495 function imagetruecolortopalette(GdImage $image, bool $dither, int $num_colors): bool {} argument
H A Dgd.c723 bool dither; in PHP_FUNCTION() local
727 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "Obl", &IM, gd_image_ce, &dither, &ncolors) == FAILURE)… in PHP_FUNCTION()
738 if (gdImageTrueColorToPalette(im, dither, (int)ncolors)) { in PHP_FUNCTION()
H A Dgd_arginfo.h27 ZEND_ARG_TYPE_INFO(0, dither, _IS_BOOL, 0)

Completed in 22 milliseconds