mirror of
https://github.com/SamProtas/JuicyPixels-blurhash.git
synced 2024-08-16 03:40:34 +03:00
A Haskell implementation of a very compact representation of a placeholder for an image. https://blurha.sh
|
||
---|---|---|
.github/workflows | ||
app | ||
docs | ||
doctest | ||
imgs | ||
src/Codec/Picture | ||
test | ||
.gitignore | ||
ChangeLog.md | ||
JuicyPixels-blurhash.cabal | ||
LICENSE | ||
package.yaml | ||
README.md | ||
Setup.hs | ||
stack.yaml | ||
stack.yaml.lock |
JuicyPixels-blurhash
Blurhash is a very compact representation of a placeholder for an image.
This library provides a Blurhash encoding and decoding implementation based on the JuicyPixels representation of images.
For the full Blurhash sales pitch and algorithm explaination see either of:
-
The website: https://blurha.sh/
-
The central git repo: https://github.com/woltapp/blurhash
An image such as:
Can be encoded as:
LGFFaWYk^6#M@-5c,1Ex@@or[j6o
Which your client can render as:
Full library documentation can be found in the Haddocks for Codec.Picture.Blurhash
.