JasperPrint print = format.getJasperPrint(requestData, config, file, getTaskDirectory()).print;
BufferedImage reportImage = ImageSimilarity.exportReportToImage(print, 0);
// ImageIO.write(reportImage, "png", new File("e:/tmp/testColumnImageConverter.png"));
// note that we are using a sample size of 50, because the image is quite big.
// otherwise small differences are not detected!
new ImageSimilarity(reportImage, 50).assertSimilarity(getFile(baseDir + "expectedImage.png"), 10);
}