Skip to main content
Known Participant
May 10, 2011
Answered

Convert Profile from color setting

  • May 10, 2011
  • 1 reply
  • 2383 views

HI

please help me

How to change rgb to cmyk profile change

i want change cmyk particular color setting in script

This topic has been closed for replies.
Correct answer c.pfaffenbichler
destinationProfile: North America Prepress 2 ,

This needs to be a String of the name of the target profile’s name (as displayed in Photoshop) in inverted commas, like »SWOP2006_Coated3v2«, not some color setting’s name.

intent: Intent ,

Please look up the Intents in the Object Model Viewer.

blackPointCompensation: Boolean ,

dither: Boolean

You can omit them, otherwise they need to be either true or false.

So the line might look like this:

app.activeDocument.convertProfile("ISO Coated v2 (ECI)", Intent.RELATIVECOLORIMETRIC, true, true);

1 reply

c.pfaffenbichler
Community Expert
Community Expert
May 10, 2011

Have you checked out the Object Model Viewer?

»Document.convertProfile (destinationProfile: string , intent: Intent , blackPointCompensation: Boolean , dither: Boolean )«

sasientryAuthor
Known Participant
May 10, 2011

Document.convertProfile (destinationProfile: North America Prepress 2 , intent: Intent , blackPointCompensation: Boolean , dither: Boolean )

It is not working pls help me

sasientryAuthor
Known Participant
May 11, 2011
destinationProfile: North America Prepress 2 ,

This needs to be a String of the name of the target profile’s name (as displayed in Photoshop) in inverted commas, like »SWOP2006_Coated3v2«, not some color setting’s name.

intent: Intent ,

Please look up the Intents in the Object Model Viewer.

blackPointCompensation: Boolean ,

dither: Boolean

You can omit them, otherwise they need to be either true or false.

So the line might look like this:

app.activeDocument.convertProfile("ISO Coated v2 (ECI)", Intent.RELATIVECOLORIMETRIC, true, true);

destinationProfile: North America Prepress 2 , intent: Intent ,blackPointCompensation: Boolean ,dither: Boolean
app.activeDocument.convertProfile("U.S. Web Coated (SWOP) v2", Intent.RELATIVECOLORIMETRIC, true, true);

Is there is any in this script it will not run

please help me