Home
last modified time | relevance | path

Searched refs:numcolors (Results 1 – 3 of 3) sorted by relevance

/PHP-7.2/ext/gd/libgd/
H A Dgd_bmp.c796 if (!info->numcolors) { in bmp_read_1bit()
797 info->numcolors = 2; in bmp_read_1bit()
798 } else if (info->numcolors < 0 || info->numcolors > 2) { in bmp_read_1bit()
806 im->colorsTotal = info->numcolors; in bmp_read_1bit()
866 if (!info->numcolors) { in bmp_read_4bit()
867 info->numcolors = 16; in bmp_read_4bit()
868 } else if (info->numcolors < 0 || info->numcolors > 16) { in bmp_read_4bit()
876 im->colorsTotal = info->numcolors; in bmp_read_4bit()
953 if (!info->numcolors) { in bmp_read_8bit()
954 info->numcolors = 256; in bmp_read_8bit()
[all …]
H A Dbmp.h101 signed int numcolors; member
H A Dgd_topal.c836 int numcolors = nim->colorsTotal; in find_nearby_colors() local
866 for (i = 0; i < numcolors; i++) in find_nearby_colors()
970 for (i = 0; i < numcolors; i++) in find_nearby_colors()
982 int numcolors, JSAMPLE colorlist[], in find_best_colors() argument
1018 for (i = 0; i < numcolors; i++) in find_best_colors()
1086 int numcolors; /* number of candidate colors */ in fill_inverse_cmap() local
1106 numcolors = in fill_inverse_cmap()
1108 find_best_colors (oim, nim, cquantize, minc0, minc1, minc2, numcolors, in fill_inverse_cmap()

Completed in 19 milliseconds