[MapProxy] Disable image color reduction and paletting

Matt Walker walkermatt at longwayaround.org.uk
Wed Aug 14 23:34:34 PDT 2013


Hi Steven,

Have you tried setting the image property `paletted` to false which enables
24bit PNG files? You can set it as a global image property:

globals:
  image:
    paletted: false


Cheers,

Matt.
-- 
Matt Walker
@_walkermatt

On 14 August 2013 20:05, Lander, Steven <steven.lander at rgi-corp.com> wrote:

>  I am currently making sqlite caches from tile data I generate from
> gdal2tiles.py.  The resulting png images look great, and so do the images
> when they are in the sqlite database if I either view them directly or if I
> save the blob data out and open in an image viewer.
>
> My issue is, when i serve this cache via mapproxy as WMS, the image is
> very dithered and low-quality.  I tried setting the image mode to RGBA for
> the cache, and also set colors to 0 (disable color reduction, according to
> wiki), but this has no impact on how the image looks.
>
> How can I get MapProxy to serve the cache images without reducing their
> quality?  Bandwidth/loadtime is no concern for me at this point.
>
> Thank you very much,
>
>  Steven D. Lander, Software Engineer
> Reinventing Geospatial, Inc
>
>
> _______________________________________________
> MapProxy mailing list
> MapProxy at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapproxy
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20130815/d710a44b/attachment.html>


More information about the MapProxy mailing list