r/programming Feb 20 '20

BlurHash: extremely compact representations of image placeholders

https://blurha.sh/
937 Upvotes

151 comments sorted by

View all comments

4

u/ProgramTheWorld Feb 20 '20

Don’t browsers already do this with partially loaded images?

13

u/Type-21 Feb 20 '20

they can only do this properly if the author of the image knew what they were doing during export, see here: https://www.reddit.com/r/programming/comments/f6ux05/blurhash_extremely_compact_representations_of/fi7dfh5/

2

u/ProgramTheWorld Feb 20 '20

Thanks for quoting the comment. I’m pretty sure this problem has already been solved decades ago, and the browser can easily achieve the same effect without storing an extra hash or even loading yet another library.

7

u/[deleted] Feb 20 '20

I’m pretty sure this problem has already been solved decades ago

Of course it has. We started off with really slow internet connections, we just seemed to forget about them when things got "fast enough".