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

Collapse All | Expand All

(-)InsightToolkit-3.18.0/Code/IO/itkPNGImageIO.cxx (-2 / +2 lines)
Lines 211-217 Link Here
211
  // minimum of a byte per pixel
211
  // minimum of a byte per pixel
212
  if (colorType == PNG_COLOR_TYPE_GRAY && bitDepth < 8) 
212
  if (colorType == PNG_COLOR_TYPE_GRAY && bitDepth < 8) 
213
    {
213
    {
214
    png_set_gray_1_2_4_to_8(png_ptr);
214
    png_set_expand_gray_1_2_4_to_8(png_ptr);
215
    }
215
    }
216
216
217
  // add alpha if any alpha found
217
  // add alpha if any alpha found
Lines 346-352 Link Here
346
  // minimum of a byte per pixel
346
  // minimum of a byte per pixel
347
  if (colorType == PNG_COLOR_TYPE_GRAY && bitDepth < 8) 
347
  if (colorType == PNG_COLOR_TYPE_GRAY && bitDepth < 8) 
348
    {
348
    {
349
    png_set_gray_1_2_4_to_8(png_ptr);
349
    png_set_expand_gray_1_2_4_to_8(png_ptr);
350
    }
350
    }
351
351
352
  // add alpha if any alpha found
352
  // add alpha if any alpha found

Return to bug 124241