9 Jun 2014 by Sergey Alexandrovich Kryukov
What is unclear in this error message? It is quite straightforward. You are doing wrong thing: you cannot lock bits on the same Bitmap b twice and work with bmpData and bmpData2 at the same time. And, in practice, it's never needed. You can create bitmap data once, do what you need to do with...