I don't think so that copying data to the WritablePixelCollection, change it and then copying back - can provide maximum performance in my case.
It would be great If I will be able to change data directly in a memory(like LockBits method do).
Maybe there is a way to get a pointer to the buffer using C++ ?
It would be great If I will be able to change data directly in a memory(like LockBits method do).
Maybe there is a way to get a pointer to the buffer using C++ ?