Apply Color To Channels Using The Color Lookup Table?

Anyone, especially newbies, asking for help with Photoshop Scripting and Photoshop Automation - as opposed to those contributing to discussion about an aspect of Photoshop Scripting

Moderators: Tom, Kukurykus

Colorguy

Apply Color To Channels Using The Color Lookup Table?

Post by Colorguy »

This one is really out there but here goes....I have a script that generates channels from a file within Index mode. So, if the file contains 10 colors for example the user has selected, the script will generate 10 bitmap channels, one for each color. The problem is, I can't seem to figure out how to also apply the correct user selected color to the channels? Each is generated as a bitmap and filled with black.

So, I was wondering if anyone had any idea how to do one of the following:

Have each channel generated with its correct color.

OR

Once my script is finished running, have the contents of each spot channel, (Spot Color 1,2,3,4,etc.) be applied the correct color values by reading the CLUT, color lookup table, left to right, color matrix cube 1,2,3,4, etc. and have those color attributes applied to each channel in numbered order.

Any ideas are appreciated.