Closed
Description
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 nicely. 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 [...]"
Metadata
Metadata
Assignees
Labels
No labels