Searched refs:num_colors (Results 1 – 8 of 8) sorted by relevance
/PHP-8.3/ext/gd/tests/ |
H A D | imagetruecolortopalette_error4.phpt | 24 !! [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 D | bug72697.phpt | 23 !! [ValueError] imagetruecolortopalette(): Argument #3 ($num_colors) must be greater than 0 and les…
|
H A D | imagetruecolortopalette_error3.phpt | 23 !! [ValueError] imagetruecolortopalette(): Argument #3 ($num_colors) must be greater than 0 and les…
|
/PHP-8.3/ext/gd/libgd/ |
H A D | gd_filter.c | 35 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 D | gd.h | 750 unsigned int num_colors; member 756 int gdImageScatterColor(gdImagePtr im, int sub, int plus, int colors[], unsigned int num_colors);
|
/PHP-8.3/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 | 3339 uint32_t num_colors = zend_hash_num_elements(Z_ARRVAL_P(hash_colors)); in php_image_filter_scatter() local 3343 if (num_colors == 0) { in php_image_filter_scatter() 3347 colors = emalloc(num_colors * sizeof(int)); in php_image_filter_scatter() 3353 RETVAL_BOOL(gdImageScatterColor(im, (int)scatter_sub, (int)scatter_plus, colors, num_colors)); in php_image_filter_scatter()
|
H A D | gd_arginfo.h | 28 ZEND_ARG_TYPE_INFO(0, num_colors, IS_LONG, 0)
|
Completed in 41 milliseconds