Searched refs:num_palette (Results 1 – 1 of 1) sorted by relevance
125 int num_palette, num_trans; in gdImageCreateFromPngCtx() local230 png_get_PLTE(png_ptr, info_ptr, &palette, &num_palette); in gdImageCreateFromPngCtx()232 php_gd_error("gd-png color_type is palette, colors: %d", num_palette); in gdImageCreateFromPngCtx()262 num_palette = 1 << bit_depth; in gdImageCreateFromPngCtx()264 j = (255 * i) / (num_palette - 1); in gdImageCreateFromPngCtx()268 num_palette = 256; in gdImageCreateFromPngCtx()335 im->colorsTotal = num_palette; in gdImageCreateFromPngCtx()338 for (i = 0; i < num_palette; ++i) { in gdImageCreateFromPngCtx()344 for (i = num_palette; i < gdMaxColors; ++i) { in gdImageCreateFromPngCtx()401 for (i = num_palette; i < gdMaxColors; ++i) { in gdImageCreateFromPngCtx()
Completed in 11 milliseconds