seydar/blurhash_haskell
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
Haskell bindings for the [Blurhash](https://github.com/woltapp/blurhash) algorithm. # Usage ``` % blurhash encode images/cat.jpg 3 3 KYLDf7IA~p^+x]S5xvW=M| % blurhash decode "KYLDf7IA~p^+x]S5xvW=M|" 1199 1198 -o out.png Saved image to out.png ``` # TODO implement this and see how close to blurhash you can get it https://www.mathworks.com/help/images/discrete-cosine-transform.html