pdf-inspector 1.25.2

Fast PDF inspection, classification, and text extraction with smart scanned vs text-based detection
Documentation
1
2
3
4
5
6
7
8
9
10
11
/// Controls how far the PDF processing pipeline runs.
#[derive(Debug, Clone, Default, PartialEq)]
pub enum ProcessMode {
    /// Only detect PDF type. Very fast — no text extraction.
    DetectOnly,
    /// Detect type + extract text + compute layout complexity. Skips markdown.
    Analyze,
    /// Full pipeline: detect, extract, convert to markdown (default).
    #[default]
    Full,
}