Ticket #29749: patch-src_IL-src-il_png.c.diff
File patch-src_IL-src-il_png.c.diff, 416 bytes (added by daftalx@…, 13 years ago) |
---|
-
src-IL/src/
old new 278 278 279 279 // Expand low-bit-depth grayscale images to 8 bits 280 280 if (png_color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) { 281 png_set_ gray_1_2_4_to_8(png_ptr);281 png_set_expand_gray_1_2_4_to_8(png_ptr); 282 282 } 283 283 284 284 // Expand RGB images with transparency to full alpha channels