BufferedImage image = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);
Graphics2D g2d = image.createGraphics();
g2d.setRenderingHint(java.awt.RenderingHints.KEY_ANTIALIASING, java.awt.RenderingHints.VALUE_ANTIALIAS_ON);
ProjectStatusDraw projectStatusDraw = new ProjectStatusDraw(pData, g2d, width, height);
projectStatusDraw.paint();
// write image to temporary file
String localImagePath = ConfigMain.getTempImagesPathAsCompleteDirectory();
File outputfile = new File(localImagePath + inName);
ImageIO.write(image, "png", outputfile);