✅ Solved: WebP lossless unexpected file size increase
When images in the editor are set to WebP lossless 100 embedded, my runtime file size is over twice the expected size. However, when exporting WebP lossy (<100) embedded, my runtime file size is the correct expected size.
For example:
- I start with a project that, without assets, exports a 20 KB runtime.
- I have 170 KB of WebP local assets, which I then upload to my Rive project.
- In the editor I set all my uploaded assets to WebP lossless 100.
- So I’d expect a runtime file size of ~190 KB (20 KB Rive + 170 KB assets). But instead I get 380 KB.
- But If I update the assets in the editor to WebP lossy 99, my runtime is now 115 KB (what I’d expect).
I’ve tried this across a few projects and got similar results, is this normal?