Searched refs:colorsWanted (Results 1 – 2 of 2) 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 1496 if (colorsWanted > maxColors) in gdImageTrueColorToPaletteBody() 1498 colorsWanted = maxColors; in gdImageTrueColorToPaletteBody() 1555 select_colors (oim, nim, cquantize, colorsWanted); in gdImageTrueColorToPaletteBody()
|
H A D | gd.h | 568 gdImagePtr gdImageCreatePaletteFromTrueColor (gdImagePtr im, int ditherFlag, int colorsWanted); 570 int gdImageTrueColorToPalette(gdImagePtr im, int ditherFlag, int colorsWanted);
|
Completed in 20 milliseconds