[WPF] Paste an image from the clipboard (bug in Clipboard.GetImage)
Oops… 2 months already since my previous (and first) post… I really have to get on a more regular schedule ;)
If you’ve ever tried to use the Clipboard.GetImage method in WPF, you probably had an unpleasant surprise… In fact, this method returns an InteropBitmap which, in some cases (most cases actually), can’t be displayed in an Image control : no exception is thrown, the image size is correct, but the image either appears empty or unrecognizable.