[OSM-dev] PNG type for Mapnik map
Jochen Topf
jochen at remote.org
Mon Dec 17 15:34:39 GMT 2007
Hi!
http://svn.openstreetmap.org/applications/rendering/mapnik/generate_tiles.py
uses a call to the external 'convert' program to reduce the number of colors
for tiles rendered by Mapnik to 255. Since version r571 Mapnik supports
writing to 8 bit palette PNGs. Palette PNGs are generally smaller than
normal PNGs.
Is there any reason NOT to change the code to use Mapniks function to
write out the image directly as 8bit paletted PNG, make the images
smaller and save the call to 'convert'? (If nobody comes up with a
reason, I'll change the code.)
Jochen
--
Jochen Topf jochen at remote.org http://www.remote.org/jochen/ +49-721-388298
More information about the dev
mailing list