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

merge all layers

$
0
0

if have layer1 and layer2 and layer3,backgroud is white,i want to Merge all layers to background.all layers is cmyk.

because layer is cmyk(0<=c,m,y,k<=100), below in black(k), Compare the color data of  the different layer, in the same coordinate position,for example ,

A.layer1---c1 m1 y1 k1,layer2---c2 m2 y2 k2,layer1 and layer2 Merge to layer1

B.layer1---c1 m1 y1 k1,layer3---c3 m3 y3 k3,layer1 and layer3 Merge to layer1

C.layer1 and background  multiply

D.finish

Merge arithmetic :

if k1>=k2  k1=k1+k2-2*k1*k2/100+k1*k1*k2/10000

else k1<k2 k1=k1+k2-2*k1*k2/100+k1*k2*k2/10000

 

 

Can edit by JavaScript? pls help me....thx


Viewing all articles
Browse latest Browse all 12244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>