read bitmap from file to array

read bitmap from file to array

Dear all,
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

5 帖子 / 0 全新
最新文章
如需更全面地了解编译器优化,请参阅优化注意事项

Reiner
I do not have any solution to your problem, but could I know the way you are using BitmapGet and BitmapPut to make the buffer? My e-mail is in_vision@cablerocket.com.
Thanks in advance
OPiedrahita

Jugoslav
www.xeffort.com

The missing link is www.wotsit.org.

Jugoslav
www.xeffort.com

I receive the information.
Thank you very much for the help.
OPiedrahita

发表评论

登录添加评论。还不是成员?立即加入