Alpha interpretation on import and...
Posted: April 3rd, 2006, 5:41 pm
Hi all,
I want to write a simple import script that will (At the mo I am altering SmartImport)
- import a sequence
- Set alpha to Premultiplied with black
- Force alphabetical naming ( thats working now )
- and set Pix Aspect ratio
and it will apply those settings to the currently importing footage.
I read the AE spripting guide and got the info:
app.project.item(index).mainSource.alphaMode.PREMULTIPLIED;
and that didn't work, so I tried
app.project.item(i).mainSource.alphaMode = AlphaMode.PREMULTIPLIED;
as suggested by Paul here: viewtopic.php?t=311&highlight=alpha
(Thanks Paul)
and indeed that does work, but on already imported footage.
What do you guys think?
I want to write a simple import script that will (At the mo I am altering SmartImport)
- import a sequence
- Set alpha to Premultiplied with black
- Force alphabetical naming ( thats working now )
- and set Pix Aspect ratio
and it will apply those settings to the currently importing footage.
I read the AE spripting guide and got the info:
app.project.item(index).mainSource.alphaMode.PREMULTIPLIED;
and that didn't work, so I tried
app.project.item(i).mainSource.alphaMode = AlphaMode.PREMULTIPLIED;
as suggested by Paul here: viewtopic.php?t=311&highlight=alpha
(Thanks Paul)
and indeed that does work, but on already imported footage.
What do you guys think?