-
pixel alpha value?
Hi guys,
I am trying to write a script that will tell me if a comp has any alpha anywhere in it. Ive tried to use the sampleImage() method, but that only works in expressions, not in scripts. To work around that problem I added an adjustment layer, gave that an a slider control. I then gave the slider control an expression testing for alpha using the sampleImage(), and then had a script read that value, but that ran so slowly the script time out.
After Effects knows exactly what the color value of every pixel is, and it gives it to me in realtime in the info panel. I cant find anyway to tap into that information. Any ideas?