mPDF Manual – mPDF Variables

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

$ICCProfileSTRING

  • 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

Fork me on GitHub