From 969562b8cb5be45ffc45abd110d22102e73732ed Mon Sep 17 00:00:00 2001 From: kramm Date: Thu, 21 Aug 2008 13:38:45 +0000 Subject: [PATCH] switched png compression to 'fastest' --- lib/png.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/png.c b/lib/png.c index 8578d2d..09ffe4a 100644 --- a/lib/png.c +++ b/lib/png.c @@ -1082,7 +1082,7 @@ EXPORT void writePNG(const char*filename, unsigned char*data, int width, int hei zs.opaque = Z_NULL; zs.next_out = writebuf; zs.avail_out = ZLIB_BUFFER_SIZE; - ret = deflateInit(&zs, 9); + ret = deflateInit(&zs, 1); if (ret != Z_OK) { fprintf(stderr, "error in deflateInit(): %s", zs.msg?zs.msg:"unknown"); return; -- 1.7.10.4