[edited to make question simpler to answer]
While Vegas 9 apparently works better with high-res images, earlier versions of Vegas work much better if you reduce the resolution of each image to the project resolution times the maximum zoom factor, plus about 10%. If you do this reduction in PhotoShop, it will avoid crashing (in Vegas versions prior to 9) and will also make a big difference in quality (avoiding the shimmering and other artifacts you get with high-res images -- perhaps V9 has fixed this problem as well).
So, I am writing a script that will look at every keyframe in every event in the project, and compute the maximum zoom factor by looking at the magnification in both the X and Y direction, and "remembering" the largest ratio found.
The script was easy to write, but I have gotten totally stuck trying to create and output the array of zoom factors and media paths. Basically I want a text file that looks like this:
1.2 E:\Documents\Christmas 2008 John and Avril Meyer.JPG
1.8 E:\Documents\1972 John Meyer.jpg
where the numbers are the maximum zoom for that media, across all events and takes.
I originally was enumerating the MediaPool and then was going to look at each event for each Media item, but couldn't find any structure that lets me do this. I guess I can walk through each event, then get the media for this event, and "index" this based on the FilePath.
But, there must be a simple way I can just get an index number from the collection.
I'm doing this in jscript, since I still use older versions of Vegas (7.0d and 8.0c).
While Vegas 9 apparently works better with high-res images, earlier versions of Vegas work much better if you reduce the resolution of each image to the project resolution times the maximum zoom factor, plus about 10%. If you do this reduction in PhotoShop, it will avoid crashing (in Vegas versions prior to 9) and will also make a big difference in quality (avoiding the shimmering and other artifacts you get with high-res images -- perhaps V9 has fixed this problem as well).
So, I am writing a script that will look at every keyframe in every event in the project, and compute the maximum zoom factor by looking at the magnification in both the X and Y direction, and "remembering" the largest ratio found.
The script was easy to write, but I have gotten totally stuck trying to create and output the array of zoom factors and media paths. Basically I want a text file that looks like this:
1.2 E:\Documents\Christmas 2008 John and Avril Meyer.JPG
1.8 E:\Documents\1972 John Meyer.jpg
where the numbers are the maximum zoom for that media, across all events and takes.
I originally was enumerating the MediaPool and then was going to look at each event for each Media item, but couldn't find any structure that lets me do this. I guess I can walk through each event, then get the media for this event, and "index" this based on the FilePath.
But, there must be a simple way I can just get an index number from the collection.
I'm doing this in jscript, since I still use older versions of Vegas (7.0d and 8.0c).