motion graphics eXchange

Crop Layer sets

Thumbnail for: Crop Layer sets
Photoshop files can contain layer sets, groups of layers that are imported into AE as precomps. Unfortunately these precomps are always the same size as the main comp.
After Effects CS3
Scripts (jsx)

Views: 8395
visit |  download |  share this  error? 
This script crops the precomps to the size of their contents, while retaining their correct position in the main comp. Ideally the script should be run on a freshly imported PSD comp before any changes are made.
This script makes it easier to manipulate the precomp layers, the bounding boxes accurately reflect the size/position of the precomps and effects are applied to a smaller area, making for more efficient renders.

How to use:
Import a Photoshop file that contains layers sets, as a composition. Ensure you select layer bounds for layer size, and not document size. Select the composition in the project window and run the script.
by Paul Tuersley


Photoshop, Layers, Size, Crop

(Min. Version: After Effects CS3, Category: Design/Objects, Type: Scripts (jsx))
posted by jamie on May 24, 2010


Related topics:

Difference Matte Effect Tutorial

Thumbnail for: Difference Matte Effect Tutorial
The Difference Matte effect creates a transparency a mask or a matte by comparing the pixels in a source layer with the pixel in a defined difference layer, and then keying out (eliminating) pixels in the source layer that match both the position and color in the difference layer.
After Effects 7

Views: 24462
posted by peter17 on Sep 29, 2008

Scale relative to distance from camera

No thumbnail available
This expression maintains the objects apparent size as it moves away from camera.
It's helpful for taking a flat layout and making a "multiplane" layout from it for animation.
After Effects 6

Views: 17771
posted by Dan Johansson on Sep 15, 2008

autoOrientCamera 2.0

Thumbnail for: autoOrientCamera 2.0
This script creates a new camera and sets point of interest, position and orientation keyframes so that the camera successively faces each comp layer.
After Effects CS3
Scripts (jsx)

Views: 7521
posted by MicGyver on Jul 01, 2009



follow us on in touch on facebook