[MapProxy] Disable image color reduction and paletting
walkermatt at longwayaround.org.uk
Wed Aug 14 23:34:34 PDT 2013
Have you tried setting the image property `paletted` to false which enables
24bit PNG files? You can set it as a global image property:
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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the MapProxy