Skip to main content

read_image

Function read_image 

Source
pub fn read_image(dir: &Path, path: &str) -> Option<Vec<u8>>
Expand description

An image a Markdown manuscript refers to, relative to its folder. Reads at most one byte over the import limit, so the importer can tell a file that is too large without all of it in memory.