I have a project where i need to perform fast image rendering.
Currently, i use image control with stretch disabled. update is made by timer, by setting Source property.
WriteableBitmap frame = Player.Get().GetFrame();
if (frame != null)
image.Source = frame;
This part become a performance bottleneck. More clearly image.Source = frame is a bottleneck.
I looked at MediaElement, but it's not applicable.
Is there any ways to perform it faster?
Maybe some method as in GDI BitBlt or similar?
Thanks in advance.
Player.Get().GetFrame()
, orimage.Source = frame
? – Brandon Dybala