WPF InteropBitmap can be created from shared memory, i.e.
Imaging.CreateBitmapSourceFromMemorySection()
In this case, we can update the shared memory in another thread or process, and then after the update call InteropBitmap.Invalidate () to represent the changes.
From the WPF source code, InteropBitmap is only an IWICBitmap shell, but it does not provide IWICBitmap :: lock , which is used for an exceptional document.
So, how do I synchronize write and read WPF InteropBitmap?
thank
source
share