Home
last modified time | relevance | path

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

/php-src/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-src/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.h752 unsigned int num_colors; member
758 int gdImageScatterColor(gdImagePtr im, int sub, int plus, int colors[], unsigned int num_colors);
/php-src/ext/gd/
H A Dgd.stub.php495 function imagetruecolortopalette(GdImage $image, bool $dither, int $num_colors): bool {} argument
H A Dgd.c3642 uint32_t num_colors = zend_hash_num_elements(Z_ARRVAL_P(hash_colors)); in php_image_filter_scatter() local
3646 if (num_colors == 0) { in php_image_filter_scatter()
3650 colors = emalloc(num_colors * sizeof(int)); in php_image_filter_scatter()
3656 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 38 milliseconds