Skip to content
Guides

PDF/A

ComPDFKit SDK supports analyzing the content of existing PDF files and making a series of modifications to generate documents compliant with the PDF/A standard.

During the process of converting a PDF file to one that complies with the PDF/A standard, features unsuitable for long-term archiving, such as encryption, outdated compression schemes, missing fonts, or device-dependent colors, will be replaced with equivalent elements that conform to the PDF/A standard. Since the conversion process applies only the necessary changes to the source file, minimal information loss occurs.

This example shows how to convert an existing PDF file into a document compliant with the PDF/A-1a standard:

c#
CPDFDocument document = CPDFDocument.InitWithFilePath("filePath");
document.WritePDFAToFilePath(CPDFType.CPDFTypePDFA1a,"savePath");

What is PDF/A?

PDF/A (Portable Document Format Archival) is a PDF file format standard specifically designed for the long-term preservation of electronic documents. Its purpose is to ensure that documents maintain readability and accessibility over time, meeting the requirements for archiving and long-term preservation. The PDF/A standard is defined by the International Organization for Standardization (ISO) and has become the international standard for electronic document archiving.

PDF/A Versions

VersionRelease DateStandardBased On
PDF/A-12005-09-28ISO 19005-1 certifiedPDF 1.4
PDF/A-22011-06-20ISO 19005-2 certifiedPDF 1.7 (ISO 32000-1: 2008)
PDF/A-32012-10-15ISO 19005-3 certifiedPDF 1.7 (ISO 32000-1: 2008)
PDF/A-42020-11ISO 19005-4 certifiedPDF 2.0 (ISO 32000-2: 2020)

Features of PDF/A

Self-Containment: PDF/A documents should be self-contained, meaning they include all necessary elements and resources, such as fonts, images, and other embedded files. This ensures that the document can be rendered and displayed independently in different environments.

Font Embedding: PDF/A requires that fonts used in the document must be embedded to prevent issues with missing fonts on different systems, ensuring correct document display.

No Compression: PDF/A typically disallows the use of compression algorithms that are unstable for long-term preservation, such as JPEG2000. This helps ensure the reliability and stability of the document.

No Encryption: PDF/A mandates that documents cannot use encryption to guarantee future accessibility and readability. This also ensures that documents are not password-protected and inaccessible for decryption.

Metadata: PDF/A encourages or requires the inclusion of metadata, such as document information, author, title, etc., to provide basic description and management information for the document.

Color Management: The PDF/A standard provides support for color management to ensure a consistent display of colors across different devices.