Source
xxxxxxxxxx
--- file.c.orig 2004-08-09 00:02:11.000000000 +1000
+++ file.c 2011-09-01 21:43:37.000000000 +1000
/* expand grey images */
if (pre_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);
/* convert RNS to ALPHA channel */
if (png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS))