Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 274065 | Differences between
and this patch

Collapse All | Expand All

(-)a/src/libply-splash-graphics/ply-image.c (-2 / +1 lines)
Lines 151-157 ply_image_load (ply_image_t *image) Link Here
151
    png_set_palette_to_rgb (png);
151
    png_set_palette_to_rgb (png);
152
152
153
  if ((color_type == PNG_COLOR_TYPE_GRAY) && (bits_per_pixel < 8))
153
  if ((color_type == PNG_COLOR_TYPE_GRAY) && (bits_per_pixel < 8))
154
    png_set_gray_1_2_4_to_8 (png);
154
    png_set_expand_gray_1_2_4_to_8 (png);
155
155
156
  if (png_get_valid (png, info, PNG_INFO_tRNS))
156
  if (png_get_valid (png, info, PNG_INFO_tRNS))
157
    png_set_tRNS_to_alpha (png);
157
    png_set_tRNS_to_alpha (png);
158
-

Return to bug 274065