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. The file must exist in /iccprofiles/ folder

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 name without the .icc extension. sRGB_IEC61966-2-1 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

Name of a valid ICC colour profile in the /iccprofiles/ folder - without the .icc extension.

DEFAULT: BLANK  

Changelog

VersionDescription
4.3 Variable was added.

See Also