previous |  up  | next
 

Loading 8-Bit BMP Files   

Author:  TheTutor

This tutorial will show you how to load an 8-bit uncompressed .bmp "manually".  This bitmap gets stored in a Windows object, but could easily be changed to something else.

Functions Used:  CreateDIBSection(), CreateCompatibleDC(), SelectObject(), SetDIBColorTable(), fopen(), fread(), memcmp(), fseek(), fclose(), DeleteObject(), DeleteDC()


purchase full version
Access EXE

 
 
 

 

 

 


 C
 C++
 Win32
 Direct3D
 OpenGL
 C#
 Java
 Free Tutorials