Loading Images from After Effects to ScriptUI (ExtendScript)
Is there a way to load image data from an AE FootageItem? I know how. a file based workflow works, but I'd like to get the images for my UI straight from the AE Project it modifies.
So, this is working: https://www.youtube.com/watch?v=CVvdykFNXAY
While this is not:
w = new Window ("palette");
var theImageFile = app.project.item(7).item(1); //an image in a folder in my AE Structure
var theImage = w.add ("image", undefined, theImageFile);
w.center();
w.show();
If I add +".png" to the theImageFile in theImage i get:

Makes Sense, still I try to load footage into the UI 😉
