79146142

Date: 2024-10-31 19:45:28
Score: 2
Natty:
Report link

Turns out VisualStudio was bugging out and didn't show me the Install System.Drawing.Common until restart :(

Was able to solve this with:

Bitmap bitmap = new Bitmap(front);
bitmap.MakeTransparent(Color.Black);
bitmap.Save(front);
BitmapImage bi = new BitmapImage();
bi.CreateOptions = BitmapCreateOptions.IgnoreImageCache;
bi.UriSource = new Uri(front);
this.Front.Source = bi;
Reasons:
  • Blacklisted phrase (1): :(
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Queen Mochi