chickadee » pdfa » set-output-intent!

set-output-intent! PDFA-DOC ICC-PATH #!key (N 3) (CONDITION-IDENTIFIER sRGB) (INFO sRGB IEC61966-2.1)procedure

Sets the document's output intent: the ICC color profile in the file ICC-PATH, which defines what the document's colors mean. N is the profile's number of color components (3 for RGB, 4 for CMYK, 1 for gray). CONDITION-IDENTIFIER names the output condition and INFO describes it.

PDF/A-1 needs a monitor or printer profile, in RGB, CMYK or gray, with a version below 4. Most Linux systems have a suitable sRGB profile at /usr/share/color/icc/sRGB.icc. In conformance mode the profile's header is checked straight away (see icc-profile-problems), and an unsuitable profile raises an error here.