convertBitmap2File

public static File convertBitmap2File(Bitmap bm, String dir, String name)

Convert image to file

Return

The file

Parameters

bm

The image

dir

The storage path for the image

name

The image name