Closed necessarylion closed 5 months ago
Add function to set and get print profile (OutputIntents)
For the PDF/X-4 standard, the document need to set print profile
// Create a new PDFDocument const pdfDoc = await PDFDocument.create() // get buffer from icc file const iccBuffer = fs.readFileSync('path/to/profile.icc'); // example for PDF/X-4 pdfDoc.setPrintProfile({ identifier: 'Coated_FOGRA39', info: 'Coated FOGRA39 (ISO 12647-2:2004)', subType: 'GTS_PDFX', iccBuffer, });
I have added test cases
N/A
What?
Add function to set and get print profile (OutputIntents)
Why?
For the PDF/X-4 standard, the document need to set print profile
How?
Testing?
I have added test cases
New Dependencies?
N/A
Screenshots
N/A
Suggested Reading?
Anything Else?
N/A
Checklist