hello
I want to make the image transparent where I want it. Save as a png file.
bmp.Initialize(File.DirRootExternal , "testecrop.png")
bmp.InitializeMutable(bmp.Width,bmp.Height)
C1.Initialize2(bmp)
Rect1.Initialize(5,5,50,50)
C1.DrawRect(Rect1, Colors.Transparent, True, 50dip)
Dim Out1 As OutputStream
Out1 = File.OpenOutput (File.DirRootExternal , "testecrop_copy.png",False )
C1.Bitmap.WriteToStream (Out1,70,"PNG")
Out1.Close
After saving, only black screen appears.
Help
I want to make the image transparent where I want it. Save as a png file.
bmp.Initialize(File.DirRootExternal , "testecrop.png")
bmp.InitializeMutable(bmp.Width,bmp.Height)
C1.Initialize2(bmp)
Rect1.Initialize(5,5,50,50)
C1.DrawRect(Rect1, Colors.Transparent, True, 50dip)
Dim Out1 As OutputStream
Out1 = File.OpenOutput (File.DirRootExternal , "testecrop_copy.png",False )
C1.Bitmap.WriteToStream (Out1,70,"PNG")
Out1.Close
After saving, only black screen appears.
Help