[Tilesathome] Wrong colors in some tiles
Dirk Stöcker
openstreetmap at dstoecker.de
Fri Oct 24 19:27:05 BST 2008
On Fri, 24 Oct 2008, Matthias Julius wrote:
>> Now one could say this is an effect of the color reduction, but when I
>> look into the image, then I find multiple color entries with the same value, so
>> there must be an error somwhere in the processing chain which should be
>> found and fixed.
>
> You are probably right and if it is a bug it is probably in pngnq.
Then it is a major bug. I would agree that in certain situations the
colors may change, but when I find multiple entries with exact same color
in the PNG file, then there is a real bug. Because there is no sense in
modifying colors when the table is not yet fully used.
> I have plans and a partial implementation to use a color quantization
> algorithm that ensures that all colors that are defined in the
> osmarender styles and symbols remain unchanged.
How did you implement this? In pngnq? Because something like a "Don't try
to modify following colors" option would not only be a useful idea for
t at h.
Ciao
--
http://www.dstoecker.eu/ (PGP key available)
More information about the Tilesathome
mailing list