Lines Matching defs:tRNS
3090 values[i][0] = 255; /* no transparency/tRNS chunk */
3116 * indicates whether or not to also set the tRNS chunk.
3147 png_byte tRNS[256];
3151 if ((tRNS[i] = ppal[i].alpha) < 255)
3156 tRNS[i] = 24;
3160 png_set_tRNS(pp, pi, tRNS, j, 0/*color*/);
3496 init_standard_palette(ps, pp, pi, 1U << bit_depth, 1/*do tRNS*/);
3733 init_standard_palette(ps, pp, pi, 1U << bit_depth, 0/*do tRNS*/);
4003 init_standard_palette(ps, pp, pi, 1U << bit_depth, 0/*do tRNS*/);
4388 /* Oops, if a palette tRNS gets expanded png_read_update_info (at least so
4466 png_error(pp, "validate: PLTE or tRNS chunk changed");
4545 /* All 8 bits in tRNS for a palette image are significant - see the
4609 png_error(pp, "validate: invalid tRNS chunk with alpha image");
5280 int have_tRNS; /* tRNS chunk may need processing */
5387 /* Convert a palette image to an rgb image. This necessarily converts the tRNS
5388 * chunk at the same time, because the tRNS will be in palette form. The way
5414 /* Add an alpha channel; this will import the tRNS information because tRNS is
5436 * original tRNS gray chunk valie.
6269 /* We don't know yet whether there will be a tRNS chunk, but we know that
6296 /* NOTE: we can actually pend the tRNS processing at this point because we
6376 /* 'expand' should do nothing for RGBA or GA input - no tRNS and the bit
7324 /* Check for tRNS first: */