-
Stretch image gradually by using a gradient
I’m trying to achieve an effect as shown in the attached image. Basically, I want to use a gradient to stretch an image/precomp. Like when using a displacement map, but instead of displacing pixels it would stretch/shrink the image by the black and white value of the gradient. So where it’s white, the image shrinks to for example 10% of the original. And where it’s black it stretches to 200% of the original.
Does anyone know how I can achieve such an effect?
Any help would be greatly appreciated!