SKBitmap.LockPixels Method
Definition
Call this to ensure that the bitmap points to the current pixel address in the pixelref.
public void LockPixels ();
Remarks
This allows pixel references that implement cached/deferred image decoding to know when there are active clients of a given image.
Balance it with a call to UnlockPixels(). These calls are harmless if there is no pixelref.