Set ROI to layer dimensions

What type of scripts do you need?

Moderator: byronnash

Post Reply
Navstar
Posts: 68
Joined: February 16th, 2009, 12:41 pm

I would like a script that would set my Region of Interest box to the dimensions of a selected layer (or layers).

I could then crop the comp to the exact dimension of my layer(s).
User avatar
lloydalvarez
Enhancement master
Posts: 460
Joined: June 17th, 2004, 9:27 am
Location: New York City, NY
Contact:

I think this is a great idea, but I don't think the ROI is accesible through scripting. As far as I am aware anyway..

-Lloyd
jayse
Posts: 12
Joined: November 22nd, 2004, 5:45 pm
Location: vegas
Contact:

Hey Nav!

You might not be able to get ROI from scripting - but you CAN get the dimensions of the layer and then use the script to just crop to the layer size = rather than setting the ROI first.

depending on what you're trying to do - and as long as you precomp it - you might be able to use Paul's Crop Layer Sets script viewtopic.php?f=9&t=496

it's a life saver.

// jayse
Navstar
Posts: 68
Joined: February 16th, 2009, 12:41 pm

Thanks for that! :mrgreen:
Post Reply