}
public File generateThumbnail(String jsonConfig, Integer rotationAngle)
throws IOException, DocumentException {
PJsonObject specJson = MapPrinter.parseSpec(jsonConfig);
if (Log.isDebugEnabled(LOGGER_NAME)) {
Log.debug(LOGGER_NAME, "Generating thumbnail from config: " +
jsonConfig);
}
final OutputFormat outputFormat =