{# canonical_base is the OWNING tenant's origin: all 16 Peasy domains serve the same catalogue, so a page rendered by a non-owner points its canonical at the owner instead of competing with it. Falls back to this site for static/self-owned pages. #}
🍋
Menu
PDF

Incremental Save

PDF Incremental Save

A PDF update method that appends changes to the end of the file without rewriting the entire document, preserving digital signatures.

技術的詳細

In the PDF specification (ISO 32000-2:2020), incremental save is implemented as a specialized object within the document's object graph. PDF files use a cross-reference table to index every object by byte offset, enabling random access without sequential parsing. This architecture allows incremental save to be read, modified, or extracted independently of other document elements. The binary structure supports incremental saves, where changes append to the file without rewriting existing content.

```javascript
// Incremental Save: PDF manipulation example
import { PDFDocument } from 'pdf-lib';

const pdfDoc = await PDFDocument.load(fileBytes);
const pages = pdfDoc.getPages();
console.log(`Pages: ${pages.length}`);
```

関連フォーマット

関連ツール

関連用語