Windows BMP bitmap loading, unloading and saving 

The following functions provide support for loading and unloading SciTech MGL bitmap resources in the Windows bitmap format (BMP). The SciTech MGL can load standard Windows style bitmap files in all formats supported by Windows. The SciTech MGL can also load and save Windows bitmap files in all of the color depths supported by the SciTech MGL, including 15-bit and 16-bit formats. Those bitmaps formats are not supported directly by Windows or Windows bitmap editing programs. The bitmap data will be converted to the format of the destination device context if the bitmap is loaded into a device context that is of a different pixel format to the incoming bitmap.

MGL_availableBitmap

MGL_buildMonoMask

MGL_getBitmapFromDC

MGL_getBitmapSize

MGL_getBitmapSizeExt

MGL_loadBitmap

MGL_loadBitmapExt

MGL_loadBitmapIntoDC

MGL_loadBitmapIntoDCExt

MGL_saveBitmapFromDC

MGL_unloadBitmap

 

 

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com