From 82986a2ae1a676023ebafb3aeb0d74fd93f801a1 Mon Sep 17 00:00:00 2001 From: springmeyer Date: Sun, 4 Nov 2012 04:12:45 -0800 Subject: [PATCH] Updated Mapnik Output Formats (markdown) --- OutputFormats.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/OutputFormats.md b/OutputFormats.md index 8be1407..aea1f39 100644 --- a/OutputFormats.md +++ b/OutputFormats.md @@ -34,6 +34,8 @@ The options include: * s=default|filtered|huff|rle - compression stragies for zlib - see zlib docs for more details (available first in Mapnik 2.0.0) + * e=miniz - enable using experimental [miniz encoder](https://github.com/mapnik/mapnik/issues/1554) (replaces libpng). In some cases this encoder provides better encoding speeds with minor size differences. + So to use new format i.e. in python: view.save("test.png",'png256:m=h') or other example in c++: @@ -66,4 +68,4 @@ Most render functions like `save_to_string` also take a third argument which mus * http://mapserver.org/output/index.html * http://trac.osgeo.org/mapserver/ticket/2436 * http://www.perrygeo.net/wordpress/?p=50 - * http://mapserver.org/output/agg.html + * http://mapserver.org/output/agg.html \ No newline at end of file