You can use this (untested) code to create a mutable bitmap with different configuration:
B4X:
Sub Create565Bitmap(Width As Int, Height As Int) As Bitmap
Dim jo As JavaObject
Return jo.InitializeStatic("android.graphics.Bitmap").RunMethod("createBitmap", Array(Width, Height, "RGB_565"))
End Sub