<div dir="ltr"><div><div>Hi,<br></div>reading the docs:<br><a href="https://mapproxy.org/blog/improving-the-performance-for-png-requests/">https://mapproxy.org/blog/improving-the-performance-for-png-requests/</a><br><br></div>I read in it:<br><br><p>By default, MapProxy will still generate PNG-24 for transparent
images. To enable PNG-8 for these images, you have to add the following
to your proxy.yaml:</p>
<pre><code>image:
paletted: true
<br><br></code></pre><div><div><div>But in another part of doc <br></div><div><a href="https://mapproxy.org/docs/1.10.0/configuration.html#image-options">https://mapproxy.org/docs/1.10.0/configuration.html#image-options</a></div><div><br></div><div>I read instead that to set a paletted image I should use:</div><div><br></div><div>mode</div><div> P</div><div><br></div><div><dl class="gmail-docutils"><dt><code><span class="gmail-pre">mode</span></code></dt><dd>One of <code><span class="gmail-pre">RGB</span></code> for 24bit images, <code><span class="gmail-pre">RGBA</span></code> 32bit images with alpha, <code><span class="gmail-pre">P</span></code> for paletted images or <code><span class="gmail-pre">I</span></code> for integer images.</dd><dt><br></dt></dl></div>Are bith valid ?</div><div><br></div><div>Thx.</div><div><br></div><div>-- <br><div><div class="gmail_signature">-----------------<br>Andrea Peri<br>. . . . . . . . . <br>qwerty àèìòù<br>-----------------<br></div>
</div></div></div></div>