ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Re: Opacity based on RGBA from sampleImage

COW Forums : Adobe After Effects Expressions

FAQ   •   VIEW ALL   •   ADD A NEW POST   •   PRINT
Respond to this post   •   Return to posts index   •   Read entire thread


Dan Ebberts
Re: Opacity based on RGBA from sampleImage
on Feb 11, 2019 at 3:52:16 am

I'm surprised that it works at all, because videoDetect should be an array of rgba values, so I would have guessed that parseInt() would have returned NaN if you feed it an array, but apparently it finds the first element of the array (the red channel, in this case). You learn something every day.


Dan



Posts IndexRead Thread 


Current Message Thread:





© 2019 CreativeCOW.net All Rights Reserved
[TOP]