How to make templater images FIT TO COMP
Hi, i have the issue that i need to make a few templates where the client uploads images. Most of the time, they should be in the right dimensions, but if not, the image needs to be fit to comp. So distorted to fit and not cropped or letterboxed. How do i get a templater image to do that, which is a regular tool in after effects to make anything fit to comp, but if i add that to the templater image, it still only crops or letterboxes it.
Thanks for your help on how to get FIT TO COMP to work with Templater Images
Templater does not have a ‘stretch’ feature to distort images to the comp size automatically. However, this effect can be achieved by using an After Effects expression. Start by setting the Scale factor to 0% and the Fit Image Style option to Letterbox (No Cropping) in the Templater Effects panel. From there, you can apply this expression:
resizeX = 100*thisComp.width/thisLayer.width; resizeY = 100*thisComp.height/thisLayer.height; [resizeX,resizeY]
To the ‘Scale’ factor in the Transform area of the Layer Properties. This should ensure that any image brought into this Layer is stretched to fit the X and Y values of the Comp. Give that a shot and let us know if there’s anything else we can do to help.
This post is deleted!
Absolutely. It’s what the “Fit Image Style” option in Templater Effect Panel does. There are two options: Fill (Cropped) and Letterbox (No Cropping). Fill will expand the image until it fills the entire frame, whereas Letterbox will keep the image constrained to the Comp proportions. If you have any additional questions about Templater, please just let us know.