lockbits

There are two ways to process an image right

1. Bitmap.SetPixel, Bitmap.GetPixel
2. Bitmap.Lockbits


Which one is faster



Answer this question

lockbits

  • OrlanduMike

    Why don't you benchmark and find out  :)
  • Miguel de Melo

    To tell you the truth, 
    I don't know how to benchmark. 

    How do you record the CPU time, considering multi-tasking
    Are there any other considerations


  • lockbits