Fast access to pixels in bitmap

  • Thread starter Thread starter Depor
  • Start date Start date
D

Depor

I want to do some operations on pixels in bitmap. But method
GetPixel() is slow. There is a function ScanLine() in Borland C++
Builder and it's possible to operate on all row of pixels at once.
Do you know method in VS .Net that works like ScanLine()?
 
Not sure but I would try Bitmap.LockBits that seems to give access to the
bitmap native format...
 
Back
Top