Skip to main content

get_blurhash_from_request

Function get_blurhash_from_request 

Source
fn get_blurhash_from_request(
    data: &[u8],
    mime: Option<&str>,
    filename: Option<&str>,
    config: BlurhashConfig,
) -> Result<String, BlurhashingError>
Expand description

Returns the blurhash or a blurhash error which implements Display.