Searched refs:color_type (Results 1 – 1 of 1) sorted by relevance
/php-src/ext/gd/libgd/ |
H A D | gd_png.c | 130 int bit_depth, color_type, interlace_type, unit_type; in gdImageCreateFromPngCtx() local 199 …png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth, &color_type, &interlace_type, NULL, N… in gdImageCreateFromPngCtx() 200 if ((color_type == PNG_COLOR_TYPE_RGB) || (color_type == PNG_COLOR_TYPE_RGB_ALPHA) in gdImageCreateFromPngCtx() 201 || color_type == PNG_COLOR_TYPE_GRAY_ALPHA) { in gdImageCreateFromPngCtx() 249 switch (color_type) { in gdImageCreateFromPngCtx() 383 switch (color_type) { in gdImageCreateFromPngCtx()
|
Completed in 6 milliseconds