code: public static void savePng(Bitmap src, String fileName) throws ImageSaveException {
          save(src, fileName, Bitmap.CompressFormat.PNG, 100);
      }
docs: Saving image in png to file
  
  @param src      source image
  @param fileName destination file name
  @throws ImageSaveException if it is unable to save image