OpenStreetMap 로고 OpenStreetMap

Optimizing PNG tiles

adaviel님이 English로 2009년 8월 11일에 게시함.

I stumbled across optipng (for Linux) recently, and wondered whether it would be worth running this on the OSM tiles (or rather, incorporating the algorithm into newly generated ones).

It seems to get maybe 25% size reduction on "empty" tiles (ocean, fields) but only 2-3% on "busy" urban tiles.

이메일 아이콘 Bluesky 아이콘 Facebook 아이콘 LinkedIn 아이콘 마스토돈 아이콘 텔레그램 아이콘 X 아이콘

토론

2009년 8월 11일 00:18andrewpmk님의 의견

It would probably take far too much CPU power to be worth running on the tile server.

2009년 8월 11일 00:51Falcorian님의 의견

And of course optipng isn't the only compression program, pngout for example generally gets smaller files at the cost of more processing time.

2009년 8월 11일 01:03adaviel님의 의견

I remember I used to get significant reduction in GIFs by reducing the palette size, before everyone had broadband. With people getting images over cell data networks (and maybe paying per kb) there may be some point to it again.

On a related topic, I forget whether I saw it on OSM or Maemo Mapper - is there any scheme to save downloads by redirecting all requests for "empty blue tile" to the same URL ?

2009년 8월 14일 08:56Firefishy님의 의견

The OSM Mapnik tiles are 256 colour PNGs to improve their size.
The tile server is CPU bound and currently bandwidth usage is not a problem.

2009년 8월 15일 03:18adaviel님의 의견

I tried pngout. Much slower than optipng, at least on the maybe 1.5Mpixel image I used.
I was thinking about bandwidth on mobile clients, not the server.

댓글을 남기려면 로그인하세요