cvs: php-src /ext/gd/libgd gd_png.c
| From: | Pierre-Alain Joye | Date: | Sat, 04 Nov 2006 14:34:04 +0000 |
| Subject: | cvs: php-src /ext/gd/libgd gd_png.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-41352@lists.php.net to get a copy of this message | ||
pajoye Sat Nov 4 14:34:04 2006 UTC
Modified files:
/php-src/ext/gd/libgd gd_png.c
Log:
- Fixed filter argument for imagepng in gdImagePngEx
http://cvs.php.net/viewvc.cgi/php-src/ext/gd/libgd/gd_png.c?r1=1.20&r2=1.21&diff_format=u
Index: php-src/ext/gd/libgd/gd_png.c
diff -u php-src/ext/gd/libgd/gd_png.c:1.20 php-src/ext/gd/libgd/gd_png.c:1.21
--- php-src/ext/gd/libgd/gd_png.c:1.20 Wed Oct 11 00:21:33 2006
+++ php-src/ext/gd/libgd/gd_png.c Sat Nov 4 14:34:04 2006
@@ -390,7 +390,7 @@
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);
}