@param height Height of the exported image in pixels
@throws PhotovaultException if exporting the photo fails for some reason.
*/
public void exportPhoto( File file, int width, int height ) throws PhotovaultException {
ODMGXAWrapper txw = new ODMGXAWrapper();
txw.lock( this, Transaction.WRITE );
// Find the original image to use as a staring point
ImageInstance original = null;
for ( int n = 0; n < instances.size(); n++ ) {
ImageInstance instance = (ImageInstance) instances.get( n );