@JvmOverloads fun Bitmap.resize(width: Int, height: Int, mode: ResizeMode = ResizeMode.AUTOMATIC, isExcludeAlpha: Boolean = false): Bitmap
Resizing image
isExcludeAlpha
- true - exclude alpha (copy as RGB_565) false - include alpha (copy as ARGB_888)