private void imageFileSave() {
		JFileChooser fileChooser = new JFileChooser();
		fileChooser.setDialogTitle("Save file as..");
		fileChooser.addChoosableFileFilter(new ExtensionFileDialogFilter("jpg"));

		int returnVal = fileChooser.showSaveDialog(this);

		if (returnVal == JFileChooser.APPROVE_OPTION) {
			String filePath = fileChooser.getSelectedFile().getPath() + ".jpg";

			if (filePath != null) {
				try {
					File file = new File(filePath);
					ImageIO.write(resultImage, "jpg", file);
				} catch (IOException e) {
				}
			}
		}
	}