https://learn.microsoft.com/en-us/dotnet/api/system.drawing.bitmap.maketransparent?view=netframework-4.8.1&viewFallbackFrom=windowsdesktop-10.0&redirectedfrom=MSDN
Bitmap.MakeTransparent Method (System.Drawing) | Microsoft Learn
Makes the default transparent color transparent for this Bitmap.
bitmapmethodsystemdrawingmicrosoft