public static void analyzeAndSaveImage(String path, String result){
		BufferedImage img;
		try {
			img = analyzeImage(path);
			ImageIO.write(img, "png", new File(result));
		} catch (IOException e) {
			e.printStackTrace();
		}
	}