module

Blurhash::Utils

Instance methods

encode_ac(r : Float, g : Float, b : Float, maximum_value : Float) : Int32
Source
encode_dc(r : Float, g : Float, b : Float) : Int32
Source
multiply_basis(x_component : Int, y_component : Int, canvas : StumpyCore::Canvas) : RGB
Source
sign_pow(value : Number, exponent : Number)
Source