Quantcast
Channel: Adobe Community : Popular Discussions - Photoshop Scripting
Viewing all articles
Browse latest Browse all 12244

Create a gradient from the script.

$
0
0

Create a gradient from the script, control stops and color.

Do not understand from the document for Photoshop cs6 javaScript reference how and where to access the gradient.

Please help me, I can not make day after day ..

 

The principle of the script consists of scanning black-and-white and color texture of the pixel, recording color in the array.

Then in order to decompose the array of color from 0 to 255 black-and-white texture.

So get the texture gradient.

0 where blacks where 255 white. each color will be assigned a user ID and on it will be moved to color in the gradient color texture.

Sorry for my English.

 

Thanks!


Viewing all articles
Browse latest Browse all 12244

Trending Articles