Projektdateien hinzufügen.

This commit is contained in:
2019-04-02 18:47:41 +02:00
parent 2ce6f5f16d
commit ef15e45df7
138 changed files with 8675 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
Imports System.Drawing
Imports System.Runtime.CompilerServices
Public Module BitmapExtensions
<Extension>
Public Sub InvertColors(bmp As Bitmap)
For y As Integer = 0 To bmp.Height - 1
For x As Integer = 0 To bmp.Width - 1
Dim inv As Color = bmp.GetPixel(x, y)
inv = Color.FromArgb(inv.A,
Byte.MaxValue - inv.R,
Byte.MaxValue - inv.G,
Byte.MaxValue - inv.B)
bmp.SetPixel(x, y, inv)
Next
Next
End Sub
End Module