fit-to-frame pics of diff sizes and aspect ratios

What type of scripts do you need?

Moderator: byronnash

Post Reply
bureaukrat
Posts: 3
Joined: January 29th, 2005, 9:44 pm

I'm trying to do a wedding slideshow for my cousin. I have a bunch of images of different sizes and proportions... some are portrait, some are landscape, and a lot are not 4:3... it would be really cool if i could tell AE to take every image and scale so that it's either letterboxed or cropped (D1 extraction)..

Ideally you would have two options of either cropped or letterboxed.

I guess you'd subtract the width from the height to see if the image was portrait or landscape, and then A) scale the longer dimension to 100% of the corresponding comp dimension (for crop), or B) scale the shorter dimension to 100% of the same comp dimension (for letterbox).

thanks..
scott
User avatar
lloydalvarez
Enhancement master
Posts: 460
Joined: June 17th, 2004, 9:27 am
Location: New York City, NY
Contact:

Hey Scott,

I wrote a script that should do what you want.. You can download it here:


Fit2Frame.jsx

Please let me know how it works out..

-Lloyd
User avatar
monter
Posts: 21
Joined: July 15th, 2004, 1:03 am
Location: Russia, Moskow
Contact:

Post Reply