I have the following code:
But I want to add a Bitmap.Config such as ARGB_8888 but I cannot see a way to do that with the methods available of the Bitmap-object. Am I missing something?
What I want to do is to convert the following Java-code to B4A:
I know I can resolve it by other means but I thought I should ask first.....
B4X:
Dim mBmap As Bitmap
mBmap.InitializeMutable(640dip,480dip)
But I want to add a Bitmap.Config such as ARGB_8888 but I cannot see a way to do that with the methods available of the Bitmap-object. Am I missing something?
What I want to do is to convert the following Java-code to B4A:
B4X:
Bitmap.Config conf = Bitmap.Config.ARGB_8888; // see other conf types
Bitmap imageToDisplay = Bitmap.createBitmap(640,480,conf);
I know I can resolve it by other means but I thought I should ask first.....