Home
last modified time | relevance | path

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

/PHP-8.2/ext/gd/libgd/
H A Dgd_png.c497 png_byte trans_values[256]; in gdImagePngCtxEx() local
643 trans_values[i] = 255 - ((im->alpha[i] << 1) + (im->alpha[i] >> 6)); in gdImagePngCtxEx()
645 png_set_tRNS (png_ptr, info_ptr, trans_values, 256, NULL); in gdImagePngCtxEx()
661 trans_values[j] = 255 - ((im->alpha[i] << 1) + (im->alpha[i] >> 6)); in gdImagePngCtxEx()
668 png_set_tRNS(png_ptr, info_ptr, trans_values, tc, NULL); in gdImagePngCtxEx()

Completed in 5 milliseconds