Skip to content

Commit

Permalink
Update README.md to add Blurhash description
Browse files Browse the repository at this point in the history
  • Loading branch information
bbrks authored May 9, 2019
1 parent 46cfbe7 commit adadfe2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

A pure Go implementation of Blurhash. Right now, almost a straight up port of the [C](https://github.com/Gargron/blurhash) and [TypeScript](https://github.com/Gargron/blurhash.js) versions, slightly adapted to Go.

Blurhash is an algorithm that encodes an image into a short (~20-30 byte) ASCII string. When you decode the string back into an image, you get a gradient of colors that represent the original image. This can be useful for scenarios where you want an image placeholder before loading, or even to censor the contents of an image [a la Mastodon](https://blog.joinmastodon.org/2019/05/improving-support-for-adult-content-on-mastodon/).

Blurhash is written by [Dag Ågren](https://github.com/DagAgren).

## Contributing
Expand Down

0 comments on commit adadfe2

Please sign in to comment.