A very compact representation of a placeholder for an image. Store it inline with your data and show it while the real image is loading for a smoother

GitHub - evanw/thumbhash: A very compact representation of an image placeholder

submited by
Style Pass
2023-03-22 12:00:02

A very compact representation of a placeholder for an image. Store it inline with your data and show it while the real image is loading for a smoother loading experience. It's similar to BlurHash but with the following advantages:

Despite doing all of these additional things, the code for ThumbHash is still similar in complexity to the code for BlurHash. One potential drawback compared to BlurHash is that the parameters of the algorithm are not configurable (everything is automatically configured).

Leave a Comment