[Tile-serving] [mod_tile] 32-bit instead of 8-bit PNG output (#64)
der-stefan
notifications at github.com
Wed Jan 8 23:31:10 UTC 2014
Rendering meta tiles with mod_tile/renderd always made my hillshade look ugly. This results in the 8 bit PNGs, which Mapnik doesn't rasterize as nice as imagemagick does. The difference can be seen here:
8-bit: 
32-bit: 
Only two lines have to be changed in src/gen_tile.c:
Substitute both "png256" with "png"
There are two possible ways:
- Introduce option in user config file (/usr/local/etc/renderd.conf) for bit depth
- Improve Mapnik. Imagemagick can produce nice looking 8-bit PNGs for example by "convert -type Palette -quality 90 [...]"
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/mod_tile/issues/64
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20140108/5c19b68b/attachment.html>
More information about the Tile-serving
mailing list