save
open fun save(src: Bitmap, filePath: String, format: Bitmap.CompressFormat): Boolean
Content copied to clipboard
Save the bitmap.
Return
{@code true}
: success{@code false}
: fail
Parameters
src
The source of bitmap.
filePath
The path of file.
format
The format of the image.
open fun save(src: Bitmap, file: File, format: Bitmap.CompressFormat): Boolean
Content copied to clipboard
Save the bitmap.
Return
{@code true}
: success{@code false}
: fail
Parameters
src
The source of bitmap.
file
The file.
format
The format of the image.
Save the bitmap.
Return
{@code true}
: success{@code false}
: fail
Parameters
src
The source of bitmap.
filePath
The path of file.
format
The format of the image.
recycle
True to recycle the source of bitmap, false otherwise.
Save the bitmap.
Return
{@code true}
: success{@code false}
: fail
Parameters
src
The source of bitmap.
file
The file.
format
The format of the image.
recycle
True to recycle the source of bitmap, false otherwise.