BmpName.Initialize(File.DirAssets,"image2.png")
FuseTexiImage(BmpName,"Test Message",Colors.Black)
Sub FuseTexiImage(Bm As Bitmap, Text As String, TextColor As Int) As Bitmap
Dim Bmp As Bitmap
Dim Rec As Rect
Bmp.InitializeMutable(Bm.Width,Bm.Height)
Can.Initialize2(Bmp)
Rec.Initialize(0,0,Bm.Width,Bm.Height)
Can.DrawBitmap(Bm,Null,Rec)
Can.DrawText(Text,Bm.Width/2,Bm.Height-60dip,Typeface.DEFAULT,28,TextColor,"CENTER")
Dim OUT As OutputStream
OUT = File.OpenOutput(File.DirRootExternal,"test.png", False)
Can.Bitmap.WriteToStream( OUT,100,"PNG")
OUT.Close
End Sub