by tnelsond4 · 5mo ago · 0 comments
I ported jbig2 (17kb uncompressed) and codec2 (60kb uncompressed) to wasm which enables me to use really small image and audio files in my web app. I also made a custom read only database and search engine with built-in zstd decompressor (39kb uncompressed). It probably wouldn't run on a psp though.
I like optimizing and making things small. I want to use neural audio codecs for even better compression but the model sizes and compute complexity are major hurdles and muddy the vision.
With a 60kb codec2 decoder you need about 2 minutes of audio to start saving.
But the target is dictionary apps with thousands of seconds of audio and thousands of images.