Skip to main content
Participant
August 16, 2008
Question

How can i detect hi-lights above 250 using JavaScript

  • August 16, 2008
  • 2 replies
  • 1913 views
HI everyone

i have an script that deletes alpha channels, paths, layer comps, flat the image, change color mode, set resolution to 300 ppi and so on, but now I need to make a selection or at list detect highlights above 250 in RGB channels and also I need to find a way to change the "color profile" from X profile to "Adobe RGB 1998"

Thanks
This topic has been closed for replies.

2 replies

Participant
August 17, 2008
thats exactly what i need but y still have problems with the color profile, I've tried the code but don't work for me. but Thanks
Paul Riggott
Inspiring
August 16, 2008
Here is some code that might do the job for your highlights..
http://ps-scripts.com/bb/viewtopic.php?p=9318#9318

as for profiles see this thread..
http://www.ps-scripts.com/bb/viewtopic.php?t=2133&highlight=profile
Inspiring
April 10, 2019

Hi Paul,

I am looking for a jsx-code to automate the detection of the coordinates of the brightest/darkest pixels in a photoshop file.

Searching the forum I found your answer with a link to ps-scripts.com.

Unfortunately the thread you are referring to is not available any more.

Do you have by chance the code from this thread?

Thanks for any help.

JJMack
Community Expert
Community Expert
April 10, 2019

Paul left here years ago this thread is eleven years old

JJMack