encode

Function encode 

Source
pub fn encode(
    components_x: u32,
    components_y: u32,
    width: u32,
    height: u32,
    rgba_image: &[u8],
) -> Result<String, Error>
Expand description

Calculates the blurhash for an image using the given x and y component counts.