SV: [MapProxy] Image compressing

Johan Sandberg johs at kth.se
Wed Apr 6 13:58:46 EDT 2011


hi!
Yes that seem to be the thing that is happend actually. they are shrink around 2/3 of the orignal image size.
Thanks for answering!

/Johan
________________________________
Från: atrawog at gmail.com [atrawog at gmail.com] för Andreas Trawoeger [atrawog at datenscheibe.org]
Skickat: den 6 april 2011 14:57
Till: Johan Sandberg
Kopia: mapproxy at lists.osgeo.org
Ämne: Re: [MapProxy] Image compressing

Hi Johan!

2011/4/6 Johan Sandberg <johs at kth.se<mailto:johs at kth.se>>
Hello! I have seen that mapproxy seem to make the image sizes smaller. When requesting an image directly to the WMS and the same image to Mapproxy, its 2/3 of the WMS image in size.
Is there som builtd in mechanism in MP that compress the image?
Both requested images are png by the way.

What you are likely seeing is PNG-8 color quantization: http://mapproxy.org/blog/improving-the-performance-for-png-requests
I couldn't find it in the MapProxy change log, but I think PNG-8 became default in MapProxy 0.9.0 (the blog post is about version 0.8.x).

cu andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapproxy/attachments/20110406/551468ae/attachment.html


More information about the MapProxy mailing list