
please wait
Because of to the internal memory representation implied by the IWICBitmap, in-place modification and processing using the Lock is more efficient than CopyPixels, usually reducing to a simple pointer access directly into the memory owned by the bitmap rather than a as a copy. This is contrasted to procedural bitmaps which implement only CopyPixels because there is no internal memory representation and one would need to be created on demand to satisfy a call to Lock.