Answered
rob dayCorrect answer
Community Expert
December 8, 2022
Hi Karoly, Not sure if this helps with the SDK, but with JavaScript you set the application and document color management settings like this:
//sets the application Color Settings:
app.colorSettings.properties = {cmykPolicy:ColorSettingsPolicy.COMBINATION_OF_PRESERVE_AND_SAFE_CMYK,
mismatchAskWhenOpening:false,
mismatchAskWhenPasting:false,
missingAskWhenOpening:false,
rgbPolicy:ColorSettingsPolicy.PRESERVE_EMBEDDED_PROFILES,
workingSpaceCMYK:"Coated GRACoL 2013",
workingSpaceRGB:"Adobe RGB (1998)"}
//sets the active document’s color management:
app.activeDocument.properties = {rgbProfile: "Adobe RGB (1998)",
rgbPolicy: ColorSettingsPolicy.PRESERVE_EMBEDDED_PROFILES,
cmykProfile:"Coated GRACoL 2013",
cmykPolicy:ColorSettingsPolicy.COMBINATION_OF_PRESERVE_AND_SAFE_CMYK}