<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">hi!<br>
Yes that seem to be the thing that is happend actually. they are shrink around 2/3 of the orignal image size.<br>
Thanks for answering!<br>
<br>
/Johan<br>
<div style="font-family: Times New Roman; color: rgb(0, 0, 0); font-size: 16px;">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF663473"><font color="#000000" face="Tahoma" size="2"><b>Från:</b> atrawog@gmail.com [atrawog@gmail.com] för Andreas Trawoeger [atrawog@datenscheibe.org]<br>
<b>Skickat:</b> den 6 april 2011 14:57<br>
<b>Till:</b> Johan Sandberg<br>
<b>Kopia:</b> mapproxy@lists.osgeo.org<br>
<b>Ämne:</b> Re: [MapProxy] Image compressing<br>
</font><br>
</div>
<div></div>
<div>
<div class="gmail_quote">Hi Johan!<br>
<br>
2011/4/6 Johan Sandberg <span dir="ltr">&lt;<a href="mailto:johs@kth.se" target="_blank">johs@kth.se</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>
<div style="direction: ltr; font-family: Tahoma; color: rgb(0, 0, 0); font-size: 10pt;">
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.<br>
Is there som builtd in mechanism in MP that compress the image?<br>
Both requested images are png by the way.<br>
</div>
</div>
</blockquote>
</div>
<br>
What you are likely seeing is PNG-8 <span class="post_prose">color quantization:</span>
<a href="http://mapproxy.org/blog/improving-the-performance-for-png-requests" target="_blank">
http://mapproxy.org/blog/improving-the-performance-for-png-requests</a><br>
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).<br>
<br>
cu andreas<br>
</div>
</div>
</div>
</body>
</html>