View | Details | Raw Unified | Return to bug 147891
Collapse All | Expand All

(-)plugins/png/ir_png.c (-1 / +1 lines)
Lines 126-132 Link Here
126
        bits = 16;
126
        bits = 16;
127
        }
127
        }
128
      if(bit_depth < 8)
128
      if(bit_depth < 8)
129
        png_set_gray_1_2_4_to_8(png->png_ptr);
129
        png_set_expand_gray_1_2_4_to_8(png->png_ptr);
130
      if (png_get_valid(png->png_ptr, png->info_ptr, PNG_INFO_tRNS))
130
      if (png_get_valid(png->png_ptr, png->info_ptr, PNG_INFO_tRNS))
131
        {
131
        {
132
        png_set_tRNS_to_alpha(png->png_ptr);
132
        png_set_tRNS_to_alpha(png->png_ptr);

Return to bug 147891