| Features | - pdf-lib's API: create and modify PDFs, pages, fonts, images
- AcroForm classes: PDFForm, PDFTextField, PDFCheckBox, PDFDropdown, PDFRadioGroup, flatten()
- radius option on drawRectangle for rounded corners
- drawSvg from @cantoo/pdf-lib
- works with foliojs/fontkit v2
- released with pdfme's versions
| - pdf-lib's API and docs: create and modify PDFs, add, remove, copy and merge pages
- create, fill, read and flatten AcroForm fields; flatten() also flattens orphaned widget annotations
- open encrypted PDFs with a password; encrypt() with AES-256 (default), AES-128 or RC4
- incremental updates: append changes without rewriting the file
- full SVG drawing (drawSvg, embedSvg) as well as SVG paths
- PDFPage.extractContents(): text, images and approximate vector graphics from content streams
- XFA helpers: preserveXFA, read and modify XFA JavaScript, signature-field discovery
- document-level JavaScript extraction
- All 15 features
| - Create PDFs from scratch or modify existing ones
- Draw text, images and SVG paths
- Embed TrueType/OpenType fonts and PNG/JPEG images; measure text
- Embed and draw pages from other PDFs
- Add, insert, remove, split and merge pages
- Create, fill, read and flatten AcroForm fields (text, checkbox, radio, dropdown, option list)
- File attachments and document metadata
- No native dependencies
|