View Source Thumbhash (Thumbhash v0.1.0-alpha.0)
Implementation of ThumbHash in Elixir
Summary
Functions
Encodes an RGBA image to a ThumbHash.
Functions
@spec rgba_to_thumb_hash(1..100, 1..100, :array.array()) :: binary()
Encodes an RGBA image to a ThumbHash.
Note
w
andh
cannot exceed100
rgba
is required to be an:array.array()
Returns a binary of hash.