Skip to main content

Sample Image

Sample Image Trick. Samples the pixels of another layer but can't be done on a per pixel variation. Cannot for loop on the current pixels.

Need to create a plugin for that.

Some reference: https://www.motionscript.com/design-guide/sample-image.html https://aenhancers.com/viewtopic.php?t=934 https://creativecow.net/forums/thread/sampleimage/ (if 3D layers, need 2 numbers)

target = thisComp.layer("background");
target.sampleImage(transform.position, [width, height]/2, true, time)