ICCProfile
(mPDF ≥ 4.3)
ICCProfile – Specify ICC colour profile to use when creating PDF/A1-b or PDF/X-1a (mPDF ≥ 5.1) compliant documents
Description
void ICCProfile
Specify ICC colour profile to use when creating PDF/A1-b or PDF/X-1a compliant documents.
Either a 3-colour RGB profile or a 4-colour CMYK profile should be used depending on other settings.
The default colorspace for a PDF/A1-b document is RGB. The default for a PDF/X-1a document is CMYK.
Specify the full path to ICC profile file.
sRGB_IEC61966-2-1.icc
is used as the default file for PDF/A1-b documents if none is specified
(a profile must be specified for PDF/X-1a)
Values
$ICCProfile = STRING
- Full path to .icc profile file.
Default: ''
(which reads [mpdf root]/data/iccprofiles/sRGB_IEC61966-2-1.icc
)
Changelog
Version | Description |
---|---|
4.3 | Variable was added. |
See Also
- PDF/A1-b compliance
- PDF/X-1a compliance
- PDFA - Create PDF/A1-b compliant document
- PDFX - Create PDF/X-1a compliant document
- PDFAauto - Specify whether to automatically fix issues to create PDF/A1-b compliant document
- PDFXauto - Specify whether to automatically fix issues to create PDF/X-1a compliant document
- restrictColorSpace - Specify whether to automatically limit the colorspaces used