Crate thumbhash

Crate thumbhash 

Source

Functionsยง

rgba_to_thumb_hash
Encodes an RGBA image to a ThumbHash. RGB should not be premultiplied by A.
thumb_hash_to_approximate_aspect_ratio
Extracts the approximate aspect ratio of the original image.
thumb_hash_to_average_rgba
Extracts the average color from a ThumbHash.
thumb_hash_to_rgba
Decodes a ThumbHash to an RGBA image.