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  
    278278
    279279        // Expand low-bit-depth grayscale images to 8 bits
    280280        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);
    282282        }
    283283
    284284        // Expand RGB images with transparency to full alpha channels