Skip to main content
StrongBeaver
Brainiac
October 3, 2011
Question

Embedding Color Profile into Script ?

  • October 3, 2011
  • 2 replies
  • 10400 views

I want to embedded a color profile into a script and run the script would change the color profile.

This topic has been closed for replies.

2 replies

TheDigitalDog
Inspiring
March 21, 2023

What and where are all these hundreds of profiles originating from?

Author “Color Management for Photographers" & "Photoshop CC Color Management/pluralsight"
JJMack
Community Expert
October 3, 2011

From the Photoshop  javascript  manual

convertProfile (destinationProfile, intent [, blackPointCompensation] [, dither])

string

Intent

boolean

boolean

Changes the color profile.

The destinationProfile parameter must

be either a string that names the color

mode or Working RGB, Working CMYK,

Working Gray, Lab Color (meaning one

of the working color spaces or Lab color).

Intent

ABSOLUTECOLORIMETRIC

PERCEPTUAL

RELATIVECOLORIMETRIC

SATURATION

The rendering intent to use when

converting from one color space to

another with

Document.convertProfile() or

JJMack
StrongBeaver
Brainiac
October 3, 2011

I don't follow completely.  If you can embedded profiles how come you can't embedded brushes / tool presets ?

c.pfaffenbichler
Community Expert
October 3, 2011

It would be nice if they came forward again to help with this problem

What about if the ICC profile is attached with the configurator custom layout in a folder, I still prefer to have it as a script. The same for ABR files, anyone else can contribute ?


One thing to consider here is that including a lot of data in the Script (that may not be necessary if the preset, profile etc. has been created once) might be a drag on the Scripts performance.