Skip to content

Convert PDF to PDF A in Java

Youna edited this page Mar 8, 2023 · 1 revision

When you need to convert PDF to PDF/A, you can use ComPDFKit to complete it. The conversion option analyzes the content of existing PDF files and performs a sequence of modifications in order to produce a PDF/A-compliant document. Features that are not suitable for long-term archiving (such as encryption, obsolete compression schemes, missing fonts, or device-dependent color) are replaced with their PDF/A-compliant equivalents. The following code sample shows how to convert PDF to PDF/A-1a in different programming languages.

document.convertType(PDFDocumentType.PSOPDFA1a);