PDF/A
PDF for Archiving
An ISO-standardized subset of PDF designed for long-term digital preservation of documents.
Technical Detail
PDF/A is governed by ISO standards that mandate self-contained documents — all fonts, color profiles, and metadata must be embedded within the file. Unlike standard PDF, external resource references are prohibited to guarantee future readability. Conformance levels (e.g. PDF/A-1b, PDF/A-2u, PDF/A-3) progressively expand the allowed feature set while maintaining archival integrity. Validation tools like veraPDF can verify conformance before submission to digital repositories or government archives.
Example
```javascript
// PDF/A: PDF manipulation example
import { PDFDocument } from 'pdf-lib';
const pdfDoc = await PDFDocument.load(fileBytes);
const pages = pdfDoc.getPages();
console.log(`Pages: ${pages.length}`);
```