--- src/svg_image.c.png 2011-09-10 14:10:00.000000000 +0200 +++ src/svg_image.c 2011-09-10 14:10:33.000000000 +0200 @@ -271,7 +271,7 @@ /* expand gray bit depth if needed */ if (color_type == PNG_COLOR_TYPE_GRAY && depth < 8) - png_set_gray_1_2_4_to_8 (png); + png_set_expand_gray_1_2_4_to_8 (png); /* transform transparency to alpha */ if (png_get_valid(png, info, PNG_INFO_tRNS))