Hi!
Ich habe den Code unten und weiß aber ich , was ich importieren muss, das der Code funktioniert. (Ich mache eine DLL)
Spoiler anzeigen
Ich habe den Code unten und weiß aber ich , was ich importieren muss, das der Code funktioniert. (Ich mache eine DLL)
VB.NET-Quellcode
- Private Function FromDrawingImage(ByVal img As System.Drawing.Image) As BitmapImage
- Using ms As New MemoryStream()
- img.Save(ms, System.Drawing.Imaging.ImageFormat.Png)
- Dim bImg As BitmapImage = New System.Windows.Media.Imaging.BitmapImage()
- bImg.BeginInit()
- bImg.StreamSource = New MemoryStream(ms.ToArray())
- bImg.EndInit()
- Return bImg
- End Using
- End Function
Whos Faster ALPHA: Bald....
![](/img-proxy-lite.php?url=http://www.teamoverpowered.com/gaming-sigs/lol/f847e4a97a0d6f220616e3d6ef63af86.png)
![](/img-proxy-lite.php?url=http://www.teamoverpowered.com/gaming-sigs/lol/f847e4a97a0d6f220616e3d6ef63af86.png)