File tempFile = File.createTempFile("thumbnail",
"." + outputFormat.getFileSuffix());
FileOutputStream out = null;
try {
out = new FileOutputStream(tempFile);
PrintParams params = new PrintParams(
getMapPrinter().getConfig(),
configFile.getParentFile(),
specJson,
out,
new HashMap<String, String>());