-
scripting tips
Greetings all,
In order to create animated textures for a 3D app, I need to convert an animated sequence of frames into a single large image with the individual frames scaled down and arranged into a grid. In other words, if I have a sequence that consists of 30 frames at 500×500, I would like to end up with a single image that has 6 rows of 5 100×100 images.
I imagine that is is a reasonable job for scripting. However, although I have some experience with coding (C, Forth, etc many many years ago), I have no experience with JavaScript or scripting for AEfx. So I thought I’d ask the scripting veterans out there: is this relatively easy or difficult?
Any suggestions on how I should approach it? My first thought is to use expression controls to get user input for the scaled down size of each image and the number of rows and columns, and to pick a folder of source images.
Thanks in advance!
BTW, I did try the Contact Sheet II function in PhotoShop. That NEARLY worked. It did arrange the images into a grid, but I didn’t get good registration; some of the images had extra space around the edge (about a pixel or so) that showed up when the texture was animated in the 3D app.