pub fn inspect(path: &Path) -> Result<DocumentInfo>
Inspect a PDF without committing to reading all of it.