Files
OCRmyPDF/src/ocrmypdf
James R. Barlow 900a60fd10 Add verapdf integration for speculative PDF/A conversion
Introduce a fast path for PDF/A conversion that uses pikepdf to add
PDF/A structures directly (sRGB ICC profile and XMP metadata), then
validates with verapdf. If validation passes, skip Ghostscript entirely.
If validation fails or verapdf is unavailable, fall back to the existing
Ghostscript conversion path.

New files:
- src/ocrmypdf/_exec/verapdf.py: CLI wrapper for verapdf validator
- tests/test_verapdf.py: Test suite for new functionality

Modified:
- pdfa.py: Add speculative_pdfa_conversion() and helpers
- _pipeline.py: Add try_speculative_pdfa() function
- _pipelines/_common.py: Integrate speculative path into postprocess()
2026-01-08 10:58:01 -08:00
..
2025-12-23 11:20:41 -08:00
2024-08-31 01:23:55 -07:00
2025-12-21 12:21:48 -08:00
2024-08-31 01:23:55 -07:00
2024-12-08 12:17:19 -08:00
2025-02-06 00:40:35 -08:00
2024-04-07 00:25:32 -07:00
2022-07-28 01:10:07 -07:00
2024-04-07 00:25:32 -07:00