What's new
Photoshop Gurus Forum

Welcome to Photoshop Gurus forum. Register a free account today to become a member! It's completely free. Once signed in, you'll enjoy an ad-free experience and be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Reply to thread

by using this jsx script my color is set to Lab values:

61,29 ; 0,93 ; 9, 28


after calculations you mentioned above i should get Lab 16 bit values:

[TABLE="width: 145"]

[TR]

[TD]L16[/TD]

[TD="align: right"]20048,81

[/TD]

[/TR]

[TR]

[TD]a16[/TD]

[TD]-32,27

[/TD]

[/TR]

[TR]

[TD]b16[/TD]

[TD]837,21[/TD]

[/TR]

[/TABLE]


but color sampler in photoshop says this:

[ATTACH]69713[/ATTACH]

what's wrong?



#target photoshop;

var colour = new SolidColor();

colour.lab.l=61.29;

colour.lab.a=0.93;

colour.lab.b=9.28;

app.foregroundColor=colour;


alert("L = " + app.foregroundColor.lab.l +" a = " + app.foregroundColor.lab.a + " b = " + app.foregroundColor.lab.b);


What is our favorite program/app? (Hint - it begins and ends with the letter P)
Back
Top