Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Scale Multiple Compositions, not by percent

  • Scale Multiple Compositions, not by percent

    Posted by Jon Henry on February 10, 2011 at 3:11 am

    Hello all,
    I have multiple jpgs, of different dimentions. I wish to place each of them into a 1920X1080 Comp, but can’t find a script to do this. There are a lot of jpgs, so I want to cut corners as much as I can.
    Thanks for any help
    Ian

    Robert Hoisan replied 15 years, 2 months ago 6 Members · 9 Replies
  • 9 Replies
  • David Johnson

    February 10, 2011 at 12:44 pm

    Have you considered batch processing them through Photoshop before bringing them into AE? If you’re talking about scaling them up rather than down, you do realize they will lose resolution, right? That may not be a big deal if the change isn’t drastic.

  • Jon Henry

    February 10, 2011 at 2:28 pm

    Hi,
    It’s the comps themselves I would like to resize. By default, when I create several comps from stills, they all automatically size the comps to the size of the image.
    And yes, the resolution won’t be an issue.
    Thanks

  • Walter Soyka

    February 10, 2011 at 2:44 pm

    [Ian McBain] “I have multiple jpgs, of different dimentions. I wish to place each of them into a 1920X1080 Comp, but can’t find a script to do this. There are a lot of jpgs, so I want to cut corners as much as I can.”

    Check out Christopher Green’s outstanding scripts at https://www.crgreen.com/aescripts/, download Selected_Comps_Changer.jsx, and send a few dollars Mr. Green’s way.

    Select all your images in the project panel, drag them onto the new comp button, and select “Multiple Compositions.” Next, select all the compositions, run Selected_Comps_Changer, and set the resolution to 1920×1080.

    Walter Soyka
    Principal & Designer at Keen Live
    Motion Graphics, Widescreen Events, Presentation Design, and Consulting
    RenderBreak Blog – What I’m thinking when my workstation’s thinking
    Creative Cow Forum Host: Live & Stage Events

  • Jon Henry

    February 10, 2011 at 3:02 pm

    That is exactly what I need. Thanks very much. I will certainly throw him a few dollars, as the time saved with these scripts will be money saved too.

  • Bartek Skorupa

    February 10, 2011 at 3:06 pm

    The script you showed is fantastic, but it will not do one thing, that I suppose is important for Ian:
    It will not scale the layers inside the comps.
    Let me propose something:
    How about you make single comp from all the pictures, then set the size of this comp to whatever you want, then select all of the layers, fit then to comp’s size (Cmd-Alt-F, or Cmd-Alt-Shift-H, or Cmd-Alt-Shift-G, depending on your preferred way of fitting) and then pre-compose them all using the script that you can find here:

    https://www.digitaldistortion.net/resources/scripts/AE/Precomp_to_duration_MultiLayer.jsx

    This script has one disadvantage: it names all the comps like: “Shot_001”, “Shot_002 and so on.
    If you want your comps to be named as the layers, you can change one line in the script.

    line 65 reads:
    var newComp = myComp.layers.precompose(layerIndice, newCompName + shotNumberPadded, true );

    change it to:
    var newComp = myComp.layers.precompose(layerIndice, newCompName + myLayers[myLayersCounter].name, true );

    Hope it helps.

    —edit—

    Oops… Hi Ian. It’s great that what Walter showed us is exactly what you need. My solution may then be helpful in some other scenarios.

    Bartek Skorupa
    Warszawa, Poland

  • Walter Soyka

    February 10, 2011 at 3:07 pm

    All of his scripts are brilliant and very, very useful. Some of them solve problems I didn’t even realize I had!

    Walter Soyka
    Principal & Designer at Keen Live
    Motion Graphics, Widescreen Events, Presentation Design, and Consulting
    RenderBreak Blog – What I’m thinking when my workstation’s thinking
    Creative Cow Forum Host: Live & Stage Events

  • Walter Soyka

    February 10, 2011 at 3:09 pm

    Brilliant!

    Walter Soyka
    Principal & Designer at Keen Live
    Motion Graphics, Widescreen Events, Presentation Design, and Consulting
    RenderBreak Blog – What I’m thinking when my workstation’s thinking
    Creative Cow Forum Host: Live & Stage Events

  • Christopher R. green

    February 13, 2011 at 7:27 am

    Thanks for the kind words, Walter. I usually feel that I barely keep up some sort of geek-cred.

    I think it’s time to update one of those scripts soon …

  • Robert Hoisan

    February 13, 2011 at 2:28 pm

    I use this script from Ben Rollason. It does a great job.
    Ripple

    It’s very basic….there are no instructions or help… but it will do what you want.

    Install it in your scripts folder. It won’t work as a docked panel / script UI.

    Select top level comp, change duration setting of this comp manually. Run the script, click ‘Ripple’. The duration setting of the top level comp will be rippled down through all subcomps and layer lengths will be adjusted accordingly.

    Robert Hoisan
    Motion Graphics Artist

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy