AE SDK how to get size of the composition?
Hello,
I have a compostion of 3480x1920. I add a layer of an image(sequence) with 2000x800.
I add my pliugin on this layer.
It sees only width and height 2000x800. But I want to know the comp size 3480x1920.
My plugin wants to scale and distort this 2000x800 input image to 3480x1920.
e.g. by scale factor of 2.
To do this I need to loop over all 3480x1920 output pixels and get their value by inverse transformation an looking into my input.
At the moment I try this in Smart Pre Render event. To get the size. But i am open for other suggestions.
How can I archieve this?
Thomas
