Skip to main content

image_document

Function image_document 

Source
pub fn image_document(bytes: &[u8]) -> String
Expand description

Identifies image bytes by media type and a URL-safe, unpadded SHA-256 digest, without retaining the image or a reversible encoding. Unknown formats use application/octet-stream; this function does not validate provider support.