factory.traverse(imgWriter);
boolean atlasPerAnimation = factory.isAtlasPerAnim();
if (descriptionJoin) {
JoinTextWriter txtWriter = new JoinTextWriter(output,
destination);
txtWriter.setPrefix(descriptionPrefix);
txtWriter.setPostfix(descriptionPostfix);
writeOutput(descriptionHeader, descriptionFormat,
descriptionFooter, txtWriter);
} else {
for (Integer atlasId : output.atlasSizes.keySet()) {
AtlasTextWriter txtWriter = new AtlasTextWriter(output,
destination, atlasId);
txtWriter.setPrefix(descriptionPrefix);
txtWriter.setPostfix(descriptionPostfix);
txtWriter.setIgnoreAnimation(!atlasPerAnimation);
if (!writeOutput(descriptionHeader, descriptionFormat,
descriptionFooter, txtWriter)) {
break;
}