blob: 6183b522c6b02a2040cb3ca9007d393e6d29997f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-an,v 1.3 2010/06/13 22:45:48 wiz Exp $
--- nucleo/image/encoding/PNGenc.cxx.orig 2008-06-05 12:52:33.000000000 +0000
+++ nucleo/image/encoding/PNGenc.cxx
@@ -170,7 +170,7 @@ namespace nucleo {
&compression_type, &filter_type) ;
if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8)
- png_set_gray_1_2_4_to_8(png_ptr);
+ png_set_expand_gray_1_2_4_to_8(png_ptr);
if (png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS))
png_set_tRNS_to_alpha(png_ptr);
|