I need to read several bitmap (*.bmp) files into a 3-D array to work on the pixel values.
I found a solution using Quickwin & LOADIMAGE & GETPIXEL. However this is very time consuming, so reading 500 files takes very long.
I tried to use other options, e.g. using GETIMAGE which reads the screen image into a buffer. However, I wasn't able to interprete the buffer format, and I also found that the buffer format differs on Windows98 and Windows 2000.
Then I tried the subroutine "BitmapGet" which is part of the QUICKWIN samples. I was able to read data which was created using "BitmapPut", but not when the screen was created using LOADIMAGE.
Does anybody know a better solution for this task? If necessary, I can provide the test program I'm working with.
Best regards, Reiner
read bitmap from file to array