perzanko
Pure Elixir implementation of Blurhash algorithm
Hey!
I’d like to share with you the library that I recently worked on. This is an implementation of the Blurhash algorithm.
What is BlurHash?
BlurHash is an algorithm by Dag Ågren of Wolt that decodes an image to a very compact (~ 20-30 bytes) ASCII string representation, which can be then decoded into a blurred placeholder image.
Originally, I wanted to use an available C library with Ports or NIFs, but unfortunately I’m not good at C and it seemed like too much work, so I ended up with a pure implementation. I created only encoder, so if anyone is interested in this topic - please feel free to extend it.
I share, it may be useful to someone!
Greetings ![]()
First Post!
dimitarvp
Very interesting!
Do you have a richer corpus of before and after images? Plus the ASCII transitional step?
Popular in Discussions
Other popular topics
Chat & Discussions>Discussions
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #elixirconf-us
- #advent-of-code
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #hex
- #security









