pub fn convert( input_path: &Path, config: &ProcessingConfig, ) -> Result<PdfDocument, EdgePdfError>
Main entry point: convert a PDF file to structured data.
input_path
config
Result<PdfDocument>
Returns an error if the PDF cannot be loaded or processed.