Updated Mapnik Output Formats (markdown)
parent
31f0478e19
commit
82986a2ae1
1 changed files with 3 additions and 1 deletions
|
@ -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
|
Loading…
Reference in a new issue