News for hackers. Stuff that matters.
Re:BlurHash: Algorithm to generate compact representation of... by hombre_fatal on Thursday February 20, 2020 @09:51AM (#22375422)
22kb

Edit: Nevermind, derp, https://blurha.sh/blurhash.01ae00eea611ada5e9c7.js contains all of the JS of the entire website.

Re:BlurHash: Algorithm to generate compact representation of... by lvh on Thursday February 20, 2020 @10:08AM (#22375541)
Ironically jpegoptim is pretty happy to knock img1.jpg (woman eating donut) down from its original 55kB to 33kB with no perceptible-to-me quality loss though ;)
Re:BlurHash: Algorithm to generate compact representation of... by DagAgren on Thursday February 20, 2020 @10:41AM (#22375792)
It is a lot smaller than that, that is probably the size of all JS code on the web page?

The algorithm itself fits into a few k.

Re:BlurHash: Algorithm to generate compact representation of... by hombre_fatal on Thursday February 20, 2020 @11:36AM (#22376271)
Yeah, you're right. I found the first JS file in my network tab and judged by its blurhash.js filename that it was the algorithm: https://blurha.sh/blurhash.01ae00eea611ada5e9c7.js

Of course, my first clue should have been that it was also the only Javascript file.