I\'m trying to save a copied image from the clipboard but it\'s losing its alpha channel:
Image clipboardImage = Clipboard.GetImage(); string imagePath = Pat
The image is being saved as a bitmap where the transparent pixels are visible on the clipboard so use this code
Bitmap clipboardImage = Clipboard.GetImage(); clipboardImage.MakeTransparent() string imagePath = Path.GetTempFileName(); clipboardImage.Save(imagePath);