The following function loadbmpfile reads data from a. BMP file (including bitmapinfohe)
2016-08-22
0 0 0
no vote
Other
Earn points
The following function LoadBmpFile, its function is from a. Bmp file to read data (including the BITMAPINFOHEADER, palette and the actual image data), its stored in a global memory handle hImgData, this hImgData will in the future plans used as treatment procedures. At the same time, fill out a type of global variable HBITMAP HBITMAP HPALETTE and a type of global variable hPalette. These two variables will be used for treatment WM_PAINT message, used to display bitmaps. The function of two parameters are used to display the bitmap handle of the window, and. Bmp file name (full path). When the function is successful, return TRUE, otherwise return FALSE.
c++
bmp
文件
存储
函数
读取
一个
功能
包括
数据
内存
句柄
实际
是从
调色板
图象
面的
全局
Related Source Codes
Local Path Planning Algorithm - DWA Algorithm
0
0
no vote
enDAQ-Shock-Data-Share-SRS-Blog
0
0
no vote
Linear regression analysis
0
0
no vote
Calling chatGPT in a Windows application
0
0
no vote
bmp2video
0
0
no vote
No comment