(Aug 6, 2014 09:30 AM)Fjux Wrote: i suggest you start looking into C++ or create a class that is unsafe (contains C++ like code) to calculate these things. it will speed up the calculation by around a factor 100, if not more.
a class doesn't have to be unsafe to utilize native code. Anyway, you're in C#, stick to C# if possible. Yes, how it works normally is very slow scanning like that, but simply call lockbits. There is no need for C++ to do something like this.
