Searched refs:num_palette (Results 1 – 1 of 1) sorted by relevance
131 int num_palette, num_trans; in gdImageCreateFromPngCtx() local251 png_get_PLTE(png_ptr, info_ptr, &palette, &num_palette); in gdImageCreateFromPngCtx()253 gd_error("gd-png color_type is palette, colors: %d", num_palette); in gdImageCreateFromPngCtx()283 num_palette = 1 << bit_depth; in gdImageCreateFromPngCtx()285 j = (255 * i) / (num_palette - 1); in gdImageCreateFromPngCtx()289 num_palette = 256; in gdImageCreateFromPngCtx()356 im->colorsTotal = num_palette; in gdImageCreateFromPngCtx()359 for (i = 0; i < num_palette; ++i) { in gdImageCreateFromPngCtx()365 for (i = num_palette; i < gdMaxColors; ++i) { in gdImageCreateFromPngCtx()423 for (i = num_palette; i < gdMaxColors; ++i) { in gdImageCreateFromPngCtx()
Completed in 12 milliseconds