[OSM-talk] New atlas-generation program

Tom Higgy higgy at bandnet.org
Tue Mar 6 11:58:52 GMT 2007


Robert (Jamie) Munro wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Tom Higgy wrote:
>> Frederik Ramm wrote:
>>> Why not go further down that route, first creating a 
>>> similar "Print View" that will actually paste the tiles together 
>>> on-the-fly
>> http://osm.bandnet.org/osm2jpeg/
>>
>> A little buggy at the moment, as you might notice. Let me know of any 
>> suggestions you have and I'll try and implement them sometime.
> 
> This is nice, but why does it output jpeg? jpeg just makes the edges go
> blurry, and you get horrible artefacts when you look closely. Jpeg is
> not designed for images where there are a limited number of colours in
> large areas - these images compress well with a general compression
> algorithm, like zip. Jpeg is designed for photographs and things like
> photographs (screenshots of games etc.), where the probability of two
> neighbouring pixels being identical is very small. That kind of image
> doesn't compress well with a  normal compression algorithm, and the jpeg
> artefacts don't show up.
> 
> Use PNG, it is the right solution for this kind of image

The problem is my DAP doesn't support PNG, only JPEG. That was what I 
created it for so that's what it does.

I could probably add an option for output format easily enough.




More information about the talk mailing list