Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to automatically, seamlessly fill a landscape composition with vertical orientation pictures?

New Here ,
Jul 29, 2023 Jul 29, 2023

My composition is landscape 1080p (1920x1080), but my pictures are vertical 1080p (1080x1920), I must keep my composition landscape. Problem is, these vertical orientation images fill only 1/2 to 1/5 of my composition (imagine a single vertical orientation picture centered out in a landscape orientation composition, the sides are black and I want the black sides to be filled seamlessly automatically with duplicates of the same picture, this would be repeated for all the other pictures). Maybe there is a plugin of some kind that can do that?

A single picture that seamlessly fills the black side of the composition parts would take about 100ms and there are about 200 of similar to vertical orientation pictures (all pictures vary in resolution), doing this by hand would be way too time-consuming as I need to make several of these videos. I would like to ask if there is a way to do this automatically?

TOPICS
How to
769
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Aug 09, 2023 Aug 09, 2023

hmm, how about using the following expression on the scale property:

var scal = thisComp.height*100/thisLayer.height;
[scal,scal]

This will scale the layer so the layer's height matches the comp's height.  Then once all 200 images are placed,  you copy the scale expression to one layer, then copy the scale property, select all the layers and apply the effect to them in one go.

Then combine this with the adjustment layer and you're done.

helped.jpg

 

Translate
Community Expert ,
Jul 31, 2023 Jul 31, 2023

Check out the effect CC Repetile.  Straight from Effects it won't do what you're after, but if you adjust the values, you could then save it as a preset and then apply that to each image you add.  You might even get away with doing it to an adjustment layer at the top of the comp, then you only need to apply it once.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 03, 2023 Aug 03, 2023

sorry, I wasn't clear, the pictures vary in width/resolution, so neither of the 2 ideas are gonna work, unfortunately 😕 

Doing it on an adjustment layer at the top of the comp just CC Repetiles the black sides as well

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 09, 2023 Aug 09, 2023

hmm, how about using the following expression on the scale property:

var scal = thisComp.height*100/thisLayer.height;
[scal,scal]

This will scale the layer so the layer's height matches the comp's height.  Then once all 200 images are placed,  you copy the scale expression to one layer, then copy the scale property, select all the layers and apply the effect to them in one go.

Then combine this with the adjustment layer and you're done.

helped.jpg

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 11, 2023 Aug 11, 2023
LATEST

Thank you for the expression, an alternative way to do that was to click on a layer, "Transform" -> "Fit to Comp Height", now that I think about it, using an expression on hundreds of images has a chance of getting a tad bit laggy but idk.

And yeah the CC Repetile works, if you hadn't replied to me I never would have figured this out, so thank you, CC Repetile seems to not work with compositions or if there is other layer under the CC Repetile layer, so, just like in the screenshot you attached, CC Repetile works only if its directly above all the individual images. Thank you 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines