Page 1 of 1

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

Posted: August 21st, 2005, 7:49 pm
by bureaukrat
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

Posted: August 30th, 2005, 9:54 am
by lloydalvarez
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

Posted: August 31st, 2005, 12:22 am
by monter