diff options
Diffstat (limited to 'source/xap/gimp/gimp.png14.diff')
-rw-r--r-- | source/xap/gimp/gimp.png14.diff | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/source/xap/gimp/gimp.png14.diff b/source/xap/gimp/gimp.png14.diff new file mode 100644 index 00000000..5af06d6e --- /dev/null +++ b/source/xap/gimp/gimp.png14.diff @@ -0,0 +1,19 @@ +--- ./plug-ins/file-ico/ico-load.c.orig 2009-07-20 15:20:51.000000000 -0500 ++++ ./plug-ins/file-ico/ico-load.c 2010-02-15 22:54:44.000000000 -0600 +@@ -287,14 +287,14 @@ + switch (color_type) + { + case PNG_COLOR_TYPE_GRAY: +- png_set_gray_1_2_4_to_8 (png_ptr); ++ png_set_expand_gray_1_2_4_to_8 (png_ptr); + if ( bit_depth == 16 ) + png_set_strip_16 (png_ptr); + png_set_gray_to_rgb (png_ptr); + png_set_add_alpha (png_ptr, 0xff, PNG_FILLER_AFTER); + break; + case PNG_COLOR_TYPE_GRAY_ALPHA: +- png_set_gray_1_2_4_to_8 (png_ptr); ++ png_set_expand_gray_1_2_4_to_8 (png_ptr); + if ( bit_depth == 16 ) + png_set_strip_16 (png_ptr); + png_set_gray_to_rgb (png_ptr); |