[Tilesathome] color-reducing
Matthias Julius
lists at julius-net.net
Thu Jul 24 18:01:07 BST 2008
Dirk-Lüder Kreie <osm-list at deelkar.net> writes:
> Jannis Achstetter schrieb:
>> Hello list,
>>
>> of course I support the idea to reduce the colors of a tile but can
>> we use a little more colors than now?
>> the reason I'm writing is this:
>> http://informationfreeway.org/?lat=49.97776785345019&lon=9.148058101976218&zoom=17&layers=B000F000F
>>
>> Have a look at the traffic-lights and the pharmacy-icons. Adding
>> some more colors or adjusting the icons might help here.
>
> Thanks for spotting, increased colour depth to 256 colours.
ImageMagick's convert knows a -map option with which one can specify a
sample image from which it will take the colour palette and apply it
to the image to be converted. This should ensure uniform colors
across the map. The tradeoff is a potentially less optimal colour
conversion for each individual tile. But I think uniform colours are
more important.
Would that be a better alternative to pngnq? Or are there any
objections?
Matthias
More information about the Tilesathome
mailing list