Skip to content

An Elixir bridge to the Rust ThumbHash library.

License

Notifications You must be signed in to change notification settings

blitzstudios/thumb_hash

 
 

Repository files navigation

ThumbHash

An Elixir bridge to the Rust ThumbHash library. See: https://github.com/evanw/thumbhash for original implmentation.

Installation

Note: a Rust toolchain is required to compile rust deps.

If available in Hex, the package can be installed by adding thumb_hash to your list of dependencies in mix.exs:

def deps do
  [
    {:thumb_hash, "~> 0.1.0"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/thumb_hash.

Usage

ThumbHash.generate_base64_hash!("my-image.jpg")

About

An Elixir bridge to the Rust ThumbHash library.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 61.4%
  • Elixir 38.6%