Tint filter - Setting parameters
Posted: May 6th, 2009, 9:18 pm
Having trouble getting the "Map White To" parameter of the Tint filter to setValue correctly.
My line of code is like this:
After running the script the color value ends up being set to:
R = 37,485
G = 47,430
B = 53,550
My project is set to 8 bit. I've ran multiple variations and I'm stumped at the moment. Any thoughts?
My line of code is like this:
Code: Select all
myComp.layer(10).Effects.addProperty("Tint"); //add filter
myComp.layer(10).property("Effects").property(1).property("Map White To").setValue([147.0, 186.0, 210.0]); //set value
R = 37,485
G = 47,430
B = 53,550
My project is set to 8 bit. I've ran multiple variations and I'm stumped at the moment. Any thoughts?