Skip to main content

parse_pdf

Function parse_pdf 

Source
pub fn parse_pdf(
    bytes: &[u8],
) -> (Vec<RawTextSegment>, DocumentMetadata, Vec<Warning>)
Expand description

End-to-end PDF parsing: load, extract metadata, resolve fonts, extract text segments.

Never panics. Returns empty results with warnings on failure.