Hacker News new | ask | show | jobs
by Dylan16807 2291 days ago
That's what polyfills are for.
1 comments

Loading a large js library to transcode images in the browser to display them, nice idea /s
Images are much bigger than javascript libraries. So by comparison it's a small library. And you're probably decoding, not transcoding.

You want to get browser support, but a gap-filler can keep you from waiting forever to reach 99.9%. And sometimes bandwidth use is more important than clunkiness.

The FLIF one actually seems to work semi-well. Not as fast as native JPG or PNG or anything but works ok.

https://uprootlabs.github.io/poly-flif/