public static void saveImageAsPng(String src, String dest, int formatWidth,
			int formatHeight) throws IOException {
		File saveFile = new File(dest);

		BufferedImage destImage = imageZoomOut(src, formatWidth, formatHeight);
		ImageIO.write(destImage, "PNG", saveFile);
	}