[MapProxy] How set correctly the paletted option

Andrea Peri aperi2007 at gmail.com
Fri Dec 1 04:21:18 PST 2017


Hi,
reading the docs:
https://mapproxy.org/blog/improving-the-performance-for-png-requests/

I read in it:

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:

image:
  paletted: true

But in another part of doc
https://mapproxy.org/docs/1.10.0/configuration.html#image-options

I read instead that to set a paletted image I should use:

mode
       P

modeOne of RGB for 24bit images, RGBA 32bit images with alpha, P for
paletted images or I for integer images.
Are bith valid ?

Thx.

-- 
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20171201/cbbd9661/attachment.html>


More information about the MapProxy mailing list