tree.setGenerationParameters(ip);
byte[] actual = tree.generateCurrentFrame();
TestOperationIntegration.compare(actual, width, height, String.format("./test/reference-%s/%03d.png", name, i), null);
OutputParameters op = new OutputParameters(String.format("./gallery-%s/%03d.png", name, i), width, height);
Output out = new Output(op, tree);
try {
out.generate();
} catch(IOException e) {
System.err.println(e.toString());
Assert.assertTrue(false);
}
}