code: @SuppressWarnings("finally")
  	public static boolean writeToFile(BufferedImage bufImg, String format, String saveImgFilePath) {
  		Boolean bool = false;
  		try {
  			bool = ImageIO.write(bufImg, format, new File(saveImgFilePath));
  		} catch (Exception e) {
  			e.printStackTrace();
  		} finally {
  			return bool;
  		}
  	}
docs: 将BufferedImage对象写入文件
  
  @param bufImg
  BufferedImage对象
  @param format
  图片格式，可选[png,jpg,bmp]
  @param saveImgFilePath
  存储图片的完整位置，包含文件名
  @return {boolean}