LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File libpng14.diff of Package img2eps (Project openSUSE:Factory)

Index: img2eps-0.2/src/im_png.c
===================================================================
--- img2eps-0.2.orig/src/im_png.c
+++ img2eps-0.2/src/im_png.c
@@ -273,7 +273,7 @@ png_read_start(image_png *im)
 	if (im->im.oi.cspace.depth != im->im.i.cspace.depth) {
 	    if (im->im.oi.cspace.type == IMAGE_CS_GRAY
 		&& im->im.oi.cspace.depth /* XXX ?! */)
-		png_set_gray_1_2_4_to_8(im->png);
+		png_set_expand_gray_1_2_4_to_8(im->png);
 	    else if (im->im.oi.cspace.depth == 16)
 		png_set_strip_16(im->png);
 	}