https://github.com/samprotas/juicypixels-blurhash
A Haskell implementation of a very compact representation of a placeholder for an image. https://blurha.sh
https://github.com/samprotas/juicypixels-blurhash
Last synced: about 1 year ago
JSON representation
A Haskell implementation of a very compact representation of a placeholder for an image. https://blurha.sh
- Host: GitHub
- URL: https://github.com/samprotas/juicypixels-blurhash
- Owner: SamProtas
- License: bsd-3-clause
- Created: 2020-05-19T04:10:18.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-03-30T20:20:21.000Z (about 3 years ago)
- Last Synced: 2024-04-26T00:09:06.589Z (about 2 years ago)
- Language: Haskell
- Size: 302 KB
- Stars: 12
- Watchers: 2
- Forks: 4
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog.md
- License: LICENSE
Awesome Lists containing this project
README
# JuicyPixels-blurhash

[](https://hackage.haskell.org/package/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:
- The central git repo:
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`.