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

Is it possible to reset a layer's bounding box to exclude alpha?

Participant ,
Apr 11, 2012 Apr 11, 2012

Copy link to clipboard

Copied

I searched the forum before asking.... I'm not even sure how to ask this properly... I have imported several layers from a photoshop file. Many of the layers are in groups to give me some pre-comp options in AE. On import, I did NOT choose to retain the layer size (or whatever that third option is) — I brought the file in just preserving the layers themselves. The precomps (when placed inside my master comp) have a bounding box that is limited to JUST that PSD's group content. However, if I open the pre-comp itself, all of the layers bounding boxes are scaled/sized to the size of the comp (in this case, 640x960). This means that the smaller layer items (say, a hand) has it's anchor point in the middle of the comp and the handles are on the perimeter of the comp. SO, even though the hand layer is only 200x200px in total size, I've got all the negative space included in my bounding box.

What I'm wondering is this: do I need to move everything out of groups in my PSD in order to be able to see the relatively appropriate bounding box? Or, is there a way to "crop" the bounding box so that it finds the widest and tallest distances of a layer's content (excluding the alpha) and then trim/crop/reduce/adjust/resize itself accordingly?

I'm not sure how else to ask it. Sorry.

Views

21.6K

Translate

Translate

Report

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
Participant ,
Apr 11, 2012 Apr 11, 2012

Copy link to clipboard

Copied

Okay... so, I had the import types reversed in my head. Importing as "Composition", will force the bounding box of every layer to fit the width/height of the comp itself. Importing with "Composition: Retain Layer Sizes" will actually crop the bounding box down to the layer's content.

I thought retain layer size meant that it kept the size of the canvas, regardless of transparency in the layer.

Still, it would be nice to know if there is anyway to address that scenario in AE....

Votes

Translate

Translate

Report

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 ,
Apr 11, 2012 Apr 11, 2012

Copy link to clipboard

Copied

As you have already discovered, the native size of a layer's bounding box is defined at import by the means you choose to import.  To reduce the boundaries of a layer after import, you use a mask.  To increase the boundaries, apply the "Grow Bounds" effect.

Votes

Translate

Translate

Report

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
Participant ,
Apr 11, 2012 Apr 11, 2012

Copy link to clipboard

Copied

LATEST

Thanks Andrew. I didn't realize that a mask would actually provide a new bounding box for the layer itself. That works too! Bingo.

Votes

Translate

Translate

Report

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