Hi I have just started using extend script for premiere pro.
I need to know the size of an object that makes up a clip it uses
The script I should complete is the following:
var oggetto =app.project.rootItem;
$.writeln(i+" "+oggetto.children[i].name ); //26 2014_10_14_21_33_29_DSC_0227.JPG
I have to get the X and Y dimensions of the photograph:
Thanks for any advice.
Confirming: You want the dimensions of the associated projectItem, not the dimensions the media had before it was imported into PPro, correct?
If so, you can get that info in the private project metadata, associated with that projectItem.
That information may be available in PPro's private project metadata: Here's how to access it.
Note: That may NOT be the size of the images as used in sequences; I'm not sure what value those original dimensions will have...?
Thank you but I don't know how to use the script you sent me. I am beginner, beginner ....
I'll reach out directly.