SamProtas / JuicyPixels-blurhash

A Haskell implementation of a very compact representation of a placeholder for an image. https://blurha.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JuicyPixels-blurhash

CI Hackage Version Hackage Deps

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:

An image such as:

example image

Can be encoded as:

LGFFaWYk^6#M@-5c,1Ex@@or[j6o

Which your client can render as:

example blurred image

Full library documentation can be found in the Haddocks for Codec.Picture.Blurhash.

About

A Haskell implementation of a very compact representation of a placeholder for an image. https://blurha.sh

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Haskell 100.0%