public void save(final File file) throws IOException {
ImageIO.write(image, configuration.getImage().getType().toString(), file);
}
public void drawTimestamp(Timestamp ts, SceneConfiguration sceneConfig) {
final TimestampAttributes att = drawAttributes.getTimestampAttributes();
if (att.isEnabled()) {
AttributedString string = new AttributedString(att.getDateFormat().get().format(ts));
string.addAttribute(TextAttribute.FONT, att.getFont());
string.addAttribute(TextAttribute.FOREGROUND, att.getColor());
graphics.drawString(string.getIterator(), att.getLeft(), configuration.getImage().getHeight().intValue() - att.getBottom());
}
}