Validate PDF/A conformance with zero false negatives. Full ISO 19005 support for PDF/A-1, 2, and 3 with detailed preflight reports.
use pdfluent::{Sdk, pdfa::{ValidationOptions, PreflightReport}};
let sdk = Sdk::init_with_license("license.json")?;
let doc = sdk.open("invoice.pdf")?;
let opts = ValidationOptions::builder()
.conformance_level(pdfluent::pdfa::ConformanceLevel::A2B)
.include_passed_checks(true)
.build();
let result = doc.validate_pdfa(opts)?;
println!("Conformance: {}", result.conformance_level());
println!("Violations: {}", result.violation_count());
for violation in result.violations() {
println!(" Page {}: {} — {}", violation.page(), violation.rule(), violation.message());
}Run cargo add pdfluent@1.0.0-beta.5 to get started.
Validates against the veraPDF corpus with zero false negatives. Every PDF/A conformance violation is detected — no silent failures in production.
Full support for PDF/A-1, PDF/A-2, and PDF/A-3 formats. Validates embedded files, transparency, encryption, and font embedding requirements.
Generate detailed preflight reports in XML or JSON. Pinpoint exact violations with page, object, and rule references for each conformance error.
Auto-fix common issues: missing PDF/A identifier, incorrect color profiles, invalid metadata. Produce conformant output from non-conformant input.
PDF/A is designed for archival. PDFluent validates that your documents will remain readable in 30 years — not just today.
Automatically detect the PDF/A version and conformance level. No configuration required for standard workflows.