News for hackers. Stuff that matters.
Re:BlurHash: Algorithm to generate compact representation of... by mneubrand on Friday February 21, 2020 @10:06AM (#22383604)
I implemented something similar when I was playing around on a personal page. It's built by Jekyll and inlines a base64 version of the jpeg with a CSS blur filter, then lazyloads the real image and transitions it in via opacity 0->1. You can see it in action here: https://www.road-beers.com/
Re:BlurHash: Algorithm to generate compact representation of... by zerd on Friday February 21, 2020 @08:09PM (#22388677)
I noticed that it only inlines the base64 for the first pictures/"above the fold", and then loads the rest async. Clever.
Re:BlurHash: Algorithm to generate compact representation of... by cpach on Friday February 21, 2020 @10:53AM (#22384001)
Cool!