$ 0 0 Makes sure you create a WriteableBitmap always on the UI thread. For that you should ensure the Dispatcher reference you use is instantiated in the UI thread.