i'm trying to change some colors in a bitmap.
this is the code i'm using
this is the part i can't work out
and i'm not sure how to use the drawimage statement after.
this is the code i'm using
VB.NET:
Dim att As System.Drawing.Imaging.ImageAttributes = New System.Drawing.Imaging.ImageAttributes
Dim map As System.Drawing.Imaging.ColorMap = New System.Drawing.Imaging.ColorMap
map.OldColor = Color.FromArgb(0, 0, 0)
map.NewColor = Color.FromArgb(255, 255, 255)
this is the part i can't work out
VB.NET:
att.SetRemapTable(New System.Drawing.Imaging.ColorMap, map)
and i'm not sure how to use the drawimage statement after.
Last edited: