Creating an importable image without rendering?
Posted: March 10th, 2011, 4:47 pm
With text files it's easy to create a new file and write something into it, for example:
var document = new File("~/Desktop/test.txt");
if(!document.exists){
document.open("w");
document.write("Text.");
document.close();
}
I want to create a jpeg (or any still image) that I can import into After Effects in the same way. I can just change the file extension to .jpeg, but AE can't import it then. The file can be completely black, as long as it can import into AE. I need to create this temp file for use with other things, but I can't figure it out. Anyone?
var document = new File("~/Desktop/test.txt");
if(!document.exists){
document.open("w");
document.write("Text.");
document.close();
}
I want to create a jpeg (or any still image) that I can import into After Effects in the same way. I can just change the file extension to .jpeg, but AE can't import it then. The file can be completely black, as long as it can import into AE. I need to create this temp file for use with other things, but I can't figure it out. Anyone?