Searched refs:desired_colors (Results 1 – 1 of 1) sorted by relevance
/PHP-8.0/ext/gd/libgd/ |
H A D | gd_topal.c | 544 boxptr boxlist, int numboxes, int desired_colors) in median_cut() argument 551 while (numboxes < desired_colors) in median_cut() 556 if (numboxes * 2 <= desired_colors) in median_cut() 703 select_colors (gdImagePtr oim, gdImagePtr nim, my_cquantize_ptr cquantize, int desired_colors) in select_colors() argument 711 boxlist = (boxptr) safe_emalloc(desired_colors, sizeof (box), 1); in select_colors() 723 numboxes = median_cut (oim, nim, cquantize, boxlist, numboxes, desired_colors); in select_colors()
|
Completed in 7 milliseconds