StrandedKitty / streets-gl

🗺 OpenStreetMap 3D renderer powered by WebGL2
http://streets.gl
MIT License
598 stars 44 forks source link

Please recompress the PNGs #126

Closed JensKorte closed 1 year ago

JensKorte commented 1 year ago

ZopfliPNG is a tool to recompress PNGs. I tried 3 images and saved between 7% and 40% of the size. I don't know if there are better tools available.

StrandedKitty commented 1 year ago

Currently, pngquant is used when building the application using Docker (https://github.com/StrandedKitty/streets-gl/blob/dev/Dockerfile#L23). It compresses all textures, reducing the resulting bundle size drastically. Note that it's lossy.