get Bitmap
Return bitmap.
Return
bitmap
Parameters
file
The file.
Return bitmap.
Return
bitmap
Parameters
file
The file.
maxWidth
The maximum width.
maxHeight
The maximum height.
Return bitmap.
Return
bitmap
Parameters
filePath
The path of file.
Return bitmap.
Return
bitmap
Parameters
filePath
The path of file.
maxWidth
The maximum width.
maxHeight
The maximum height.
Return bitmap.
Return
bitmap
Parameters
is
The input stream.
open fun getBitmap(is: InputStream, maxWidth: Int, maxHeight: Int): Bitmap
Content copied to clipboard
Return bitmap.
Return
bitmap
Parameters
is
The input stream.
maxWidth
The maximum width.
maxHeight
The maximum height.
Return bitmap.
Return
bitmap
Parameters
data
The data.
offset
The offset.
Return bitmap.
Return
bitmap
Parameters
data
The data.
offset
The offset.
maxWidth
The maximum width.
maxHeight
The maximum height.
Return bitmap.
Return
bitmap
Parameters
resId
The resource id.
Return bitmap.
Return
bitmap
Parameters
resId
The resource id.
maxWidth
The maximum width.
maxHeight
The maximum height.
Return bitmap.
Return
bitmap
Parameters
fd
The file descriptor.
open fun getBitmap(fd: FileDescriptor, maxWidth: Int, maxHeight: Int): Bitmap
Content copied to clipboard
Return bitmap.
Return
bitmap
Parameters
fd
The file descriptor
maxWidth
The maximum width.
maxHeight
The maximum height.