i am trying this code >
but dont show nothing on imageview
B4X:
MainForm = Form1
MainForm.RootPane.LoadLayout("main") 'Load the layout file.
MainForm.Show
cv.Initialize("cv")
Dim bc As BitmapCreator
bc.Initialize(MainForm.WindowWidth, MainForm.WindowHeight)
Dim bmp As B4XBitmap = xui.LoadBitmapResize(File.DirAssets, "img.jpg", 600, 800, True)
'cv.DrawImage(bc.Bitmap, bc.Bitmap.Width, bc.Bitmap.Width, bc.Bitmap.Width, bc.Bitmap.Height)
cv.DrawCircle(50, 50, 20, fx.Colors.Red, True, 0)
ImageView_Bmp.SetImage(cv.Snapshot)
but dont show nothing on imageview