How do I calculate the required buffer size for the WriteableBitmap.WritePixels method?
I am using the overload taking four parameters, the first is an Int32Rect, th
I am work with this. 60z fs
this.playerOpacityMaskImage.WritePixels( new Int32Rect(0, 0, this.depthWidth, this.depthHeight), this.greenScreenPixelData, this.depthWidth * ((this.playerOpacityMaskImage.Format.BitsPerPixel + 7) / 8), 0);