PNG bitmap loading, unloading and saving 

The following functions provide support for loading and unloading SciTech MGL bitmap resources in the PNG format. The SciTech MGL can load and save all styles of PNG format bitmaps, including RGB, 8-bit grayscale and 8-bit color bitmaps with an alpha channel. The PNG bitmap format is the only format that the SciTech MGL supports that can load and handle alpha channel data. 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_availablePNG

MGL_getPNGSize

MGL_getPNGSizeExt

MGL_loadPNG

MGL_loadPNGExt

MGL_loadPNGIntoDC

MGL_loadPNGIntoDCExt

MGL_savePNGFromDC

MGL_savePNGFromDCExt

 

 

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