Searched refs:num_colors (Results 1 – 8 of 8) sorted by relevance
/php-src/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-src/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 | 752 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 D | gd.stub.php | 495 function imagetruecolortopalette(GdImage $image, bool $dither, int $num_colors): bool {} argument
|
H A D | gd.c | 3642 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 D | gd_arginfo.h | 28 ZEND_ARG_TYPE_INFO(0, num_colors, IS_LONG, 0)
|
Completed in 27 milliseconds