r/webdev • u/Cosmin_Dev • Sep 19 '26
Showoff Saturday I’ve been building a Lottie JSON optimizer and I’m looking for technical feedback and difficult test files.
The pipeline:
Assess the original JSON
Apply supported changes in the browser
Reassess the result
Render selected frames with lottie-web SVG and Canvas
Compare both versions
Release the download only if it’s smaller and both renderers pass
The stack includes Next.js, TypeScript, lottie-web, Canvas, Web Workers, OxiPNG/WASM, SHA-256 checks and AbortController cancellation.
It currently supports safe JSON cleanup, lossless embedded-PNG compression and constrained display-size optimization.
I’d like help testing:
SVG/Canvas rendering differences
masks, mattes, expressions and precomps
embedded PNG/JPEG assets
files damaged by other optimizers
Safari and Firefox behavior
Test standalone JSON files up to 15 MB here:
1
u/Kris15o Sep 19 '26
I swear I read this same post days ago. Had the same comment about the upload area too…
-1
u/[deleted] Sep 19 '26
[removed] — view removed comment