I am trying to write a code that extracts pixel color values for each pixel in a bitmap file. For such purpose I have imported the bmp as a bitmap object and I have used Bitmap.GetPixel(x,y) method but it was not fast enough for my application. One of my colleagues gave me an advice; I think I can use fopen to open the file itself, parse the byte data to an array. Do any of you have any idea? Using fopen method is not a must, I can use anything.
Thanks in advance.