writer.putMetadata( metadata );
writer.putImageStriped( image, thread );
// TODO: allow users to write tiled TIFFs if they want
// writer.putImageTiled( image, thread );
writer.dispose();
}
catch ( LCImageLibException e ) {
final IOException ioe = new IOException( "TIFF export failed" );
ioe.initCause( e );
throw ioe;