Greg, Thanks. That link pointed me to some code that I have modified slightly for my case and it is working. That said I have broken something else in the process ! Will put some screenshots up as soon as I fix the last bug.
Hope I can assist somebody someday. Jim On 15/07/2013, at 10:05 PM, Greg Keogh <[email protected]> wrote: > I just found this message in my Gmail outbox that didn't go a couple of hours > ago. It's out of sequence and was slightly off your topic, but here it is > just in case it's useful as a warning -- Greg > > ============= > Everything works, oh yeah! I just tried rendering different Clipboard images > in a WPF Image control and sometimes it shows the correct size but it's > blank. Web searching shows this: > > 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. > > The author then goes on to show a morass of DIB manipulation code as a > workaround, but I feel sure there is an easier way than that.
