From 20f1d35048f9a3ed3cea6ca1b5de40c42f3d486c Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Sat, 4 Nov 2006 14:34:04 +0000 Subject: [PATCH] - Fixed filter argument for imagepng in gdImagePngEx --- ext/gd/libgd/gd_png.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/gd/libgd/gd_png.c b/ext/gd/libgd/gd_png.c index b5245bd6c4..4f4167a754 100644 --- a/ext/gd/libgd/gd_png.c +++ b/ext/gd/libgd/gd_png.c @@ -390,7 +390,7 @@ gdImagePtr gdImageCreateFromPngCtx (gdIOCtx * infile) void gdImagePngEx (gdImagePtr im, FILE * outFile, int level, int basefilter) { gdIOCtx *out = gdNewFileCtx(outFile); - gdImagePngCtxEx(im, out, level, -1); + gdImagePngCtxEx(im, out, level, basefilter); out->gd_free(out); } -- 2.50.1