Dear all,
Greetings,
I try to re-save png file after resize it,
But the result image seam by black background instead of transparent background.
any comment to solve this problem
I use this code :
Dim b1 As Bitmap
b1 = LoadBitmap(Dir, FileName)
b1.Resize(500,500,True)
out = File.OpenOutput(File.DirRootExternal, "/" & Image_name.Text, False)
b1.WriteToStream(out, 100, "PNG")
out.Close
Thanks on advance
Best regards
Greetings,
I try to re-save png file after resize it,
But the result image seam by black background instead of transparent background.
any comment to solve this problem
I use this code :
Dim b1 As Bitmap
b1 = LoadBitmap(Dir, FileName)
b1.Resize(500,500,True)
out = File.OpenOutput(File.DirRootExternal, "/" & Image_name.Text, False)
b1.WriteToStream(out, 100, "PNG")
out.Close
Thanks on advance
Best regards