--- libbase/GnashImagePng.cpp.orig 2009-03-02 17:29:44.000000000 +0200 +++ libbase/GnashImagePng.cpp 2010-07-02 13:07:47.000000000 +0300 @@ -164,7 +164,7 @@ if (type == PNG_COLOR_TYPE_GRAY && bitDepth < 8) { log_debug("Setting grey bit depth(%d) to 8", bitDepth); - png_set_gray_1_2_4_to_8(_pngPtr); + png_set_expand_gray_1_2_4_to_8(_pngPtr); } // Apply the transparency block if it exists.