0

I'm setting an Image's Source to a WriteableBitmap, and I'm populating that WriteableBitmap using its PixelBuffer. The first time I write to it, it works. But subsequent writes are ignored. Why?

I'm using:

Stream s = myWriteableBitmap.PixelBuffer.AsStream()

(it's in a using. and I'm not getting any exceptions)

ispiro
  • 26,556
  • 38
  • 136
  • 291

1 Answers1

1

Following Rob Claplan's answer you should call Invalidate after performing changes to your Bitmap.

Community
  • 1
  • 1
Romasz
  • 29,662
  • 13
  • 79
  • 154