pub fn extract_detailed( bytes: &[u8], mime: Option<&str>, filename: Option<&str>, opts: &Options, ) -> Result<Extraction, DocError>
Like extract, also reporting the detected format and truncation.
extract