Validate PDF compliance with sub-formats PDF/A-1b, PDF/A-2b, PDF/A-3b

This is a sample showing how to validate a PDF document against PDF/A sub-format using Qoppa’s jPDFPreflight library. PDF/A is the format for PDF for Long-term Preservation. Validate against PDF/A-1b: PreflightResults results = pdfPreflight.verifyDocument(new PDFA_1_B_Verification(), null);PreflightResults results = pdfPreflight.verifyDocument(new PDFA_1_B_Verification(), null); Validate against PDF/A-2b: PreflightResults results = pdfPreflight.verifyDocument(new PDFA_2_B_Verification(), null);PreflightResults results = pdfPreflight.verifyDocument(new PDFA_2_B_Verification(), null); […]

Read More

Sample Code to Convert PDF to PDF/A-1b, PDF/A-2b, PDF/A-3b

Here is a sample code to convert a PDF document to PDF/A using Qoppa’s jPDFPreflight library. If the conversion was successful, a success message is shown and the PDF-A compliant document is saved as output. If the conversion was unsuccessful, a failure message is shown and the original document is saved with annotations appended to […]

Read More