getBitmap

open fun getBitmap(file: File): Bitmap

Return bitmap.

Return

bitmap

Parameters

file

The file.

open fun getBitmap(file: File, maxWidth: Int, maxHeight: Int): Bitmap

Return bitmap.

Return

bitmap

Parameters

file

The file.

maxWidth

The maximum width.

maxHeight

The maximum height.

open fun getBitmap(filePath: String): Bitmap

Return bitmap.

Return

bitmap

Parameters

filePath

The path of file.

open fun getBitmap(filePath: String, maxWidth: Int, maxHeight: Int): Bitmap

Return bitmap.

Return

bitmap

Parameters

filePath

The path of file.

maxWidth

The maximum width.

maxHeight

The maximum height.

open fun getBitmap(is: InputStream): Bitmap

Return bitmap.

Return

bitmap

Parameters

is

The input stream.

open fun getBitmap(is: InputStream, maxWidth: Int, maxHeight: Int): Bitmap

Return bitmap.

Return

bitmap

Parameters

is

The input stream.

maxWidth

The maximum width.

maxHeight

The maximum height.

open fun getBitmap(data: Array<Byte>, offset: Int): Bitmap

Return bitmap.

Return

bitmap

Parameters

data

The data.

offset

The offset.

open fun getBitmap(data: Array<Byte>, offset: Int, maxWidth: Int, maxHeight: Int): Bitmap

Return bitmap.

Return

bitmap

Parameters

data

The data.

offset

The offset.

maxWidth

The maximum width.

maxHeight

The maximum height.

open fun getBitmap(@DrawableRes() resId: Int): Bitmap

Return bitmap.

Return

bitmap

Parameters

resId

The resource id.

open fun getBitmap(@DrawableRes() resId: Int, maxWidth: Int, maxHeight: Int): Bitmap

Return bitmap.

Return

bitmap

Parameters

resId

The resource id.

maxWidth

The maximum width.

maxHeight

The maximum height.

open fun getBitmap(fd: FileDescriptor): Bitmap

Return bitmap.

Return

bitmap

Parameters

fd

The file descriptor.

open fun getBitmap(fd: FileDescriptor, maxWidth: Int, maxHeight: Int): Bitmap

Return bitmap.

Return

bitmap

Parameters

fd

The file descriptor

maxWidth

The maximum width.

maxHeight

The maximum height.