saveImage

private fun saveImage(image: Bitmap, file: File)

Saves an image to a file and adds it to the gallery.

Parameters

image

The image to save.

file

The file to save the image to.