3 ms·
I’ve been meaning to give something like this a shot to assist in lazy loading large images. Generate a low complexity svg that is hopefully pretty small and ju
by dawnerd 6y ago
I’ve been meaning to give something like this a shot to assist in lazy loading large images. Generate a low complexity svg that is hopefully pretty small and just fade in the full image once loaded.
- klysm 6y agoYou should check out interlaced PNG and friends
- munawwar 6y agoI tried this recently: https://gist.github.com/Munawwar/6ac51e33e901d89750ee61319d064aa5 https://gist.github.com/Munawwar/6ac51e33e901d89750ee61319d0... The challenge is making it look pretty and at same time have a small svg output and at the same time not taking forever to generate (it's perf gets exponentialy slow). Took some time to tweak it to the settings I used. It looks nicer than blurhash.. however blurhash is way smaller and might be more practical alternative
- dawnerd 6y agoOh that’s very nice, I’ll give it a shot. I did try blurhash but it was just a bit too abstract? For large images. Think desktop full width.
- atulvi 6y agoAlso checkout https://blurha.sh/ https://blurha.sh/ if you want a minimal palceholder image for the web