Home
last modified time | relevance | path

Searched refs:num_colors (Results 1 – 8 of 8) sorted by relevance

/PHP-8.2/ext/gd/tests/
H A Dimagetruecolortopalette_error4.phpt24 !! [ValueError] imagetruecolortopalette(): Argument #3 ($num_colors) must be greater than 0 and les…
25 !! [ValueError] imagetruecolortopalette(): Argument #3 ($num_colors) must be greater than 0 and les…
H A Dbug72697.phpt23 !! [ValueError] imagetruecolortopalette(): Argument #3 ($num_colors) must be greater than 0 and les…
H A Dimagetruecolortopalette_error3.phpt23 !! [ValueError] imagetruecolortopalette(): Argument #3 ($num_colors) must be greater than 0 and les…
/PHP-8.2/ext/gd/libgd/
H A Dgd_filter.c35 s.num_colors = 0; in gdImageScatter()
40 int gdImageScatterColor(gdImagePtr im, int sub, int plus, int colors[], unsigned int num_colors) in gdImageScatterColor() argument
47 s.num_colors = num_colors; in gdImageScatterColor()
69 if (scatter->num_colors) { in gdImageScatterEx()
82 for (n = 0; n < scatter->num_colors; n++) { in gdImageScatterEx()
H A Dgd.h750 unsigned int num_colors; member
756 int gdImageScatterColor(gdImagePtr im, int sub, int plus, int colors[], unsigned int num_colors);
/PHP-8.2/ext/gd/
H A Dgd.stub.php495 function imagetruecolortopalette(GdImage $image, bool $dither, int $num_colors): bool {} argument
H A Dgd.c3343 uint32_t num_colors = zend_hash_num_elements(Z_ARRVAL_P(hash_colors)); in php_image_filter_scatter() local
3347 if (num_colors == 0) { in php_image_filter_scatter()
3351 colors = emalloc(num_colors * sizeof(int)); in php_image_filter_scatter()
3357 RETVAL_BOOL(gdImageScatterColor(im, (int)scatter_sub, (int)scatter_plus, colors, num_colors)); in php_image_filter_scatter()
H A Dgd_arginfo.h28 ZEND_ARG_TYPE_INFO(0, num_colors, IS_LONG, 0)

Completed in 25 milliseconds