pdfSetGrayOutputProfile
Set the gray output profile for one document.
void pdfSetGrayOutputProfile(PDFHandle pdf, char *profilePath)
Sets the gray output profile (for color management) for a single PDF
file. This overrides the global xpdfrc setting.
Color management must be enabled (either via the global xpdfrc
setting, or using pdfEnableColorManagement
) before calling this
function.
C:
pdfSetGrayOutputProfile(pdf, "c:/profiles/some-profile.icc");