Reputation: 1
i develop in WPF. I have a black bitmap and i want to change color to white at runtime !
Upvotes: 0
Views: 1016
Reputation: 23208
If you use the WriteableBitmapExtensions it's pretty easy.
using WriteableBitmapEx;
...
myBitmap.Clear(System.Windows.Media.Colors.White);
Upvotes: 1