Zaei
Aug 13th, 2001, 06:40 PM
I am loading a large amount of data from a bitmap. The question is this... Is it faster to:
A) Load the bitmap into memory using normal API calls, and getting each pixel using GetPixel()
or...
B) Preprocess the Bitmap (i only need the red component), and use fread()?
There are 16785409 pixels in the bitmap. Im being lazy because i dont want to write the preprocessing program if i dont have to.
Z.
A) Load the bitmap into memory using normal API calls, and getting each pixel using GetPixel()
or...
B) Preprocess the Bitmap (i only need the red component), and use fread()?
There are 16785409 pixels in the bitmap. Im being lazy because i dont want to write the preprocessing program if i dont have to.
Z.