CreateBMIFromGSPixMap
Converts a Graphisoft pixmap to packed BMI (Bitmap Info).
GSErr CreateBMIFromGSPixMap ( GSPixMapHandle pixmapHdl, BITMAPINFO** ppBmp, bool* bitfield32 );
Parameters
- pixmapHdl
- The source pixmap.
- ppBmp
- The address of NULL-initialized DIB pointer.
- bitfield32
- Flag to enable bitfield compression for 32-bit images. Under this color depth the bitfield32 value is ignored.
Return Values
If the function succeeds, the return value is NoError. If the function fails, the return value is the error code.
Remarks
This packed DIB is the format of the BMP files.
Note that GSPtr* pointers have to be disposed by calling BMpFree (GSPtr *)!
This function exists only on Windows platform.
Requirements
- Version:
- GX 10 or later
- Header:
- Graphics2DWin.h
- Import Library:
- GXImp.lib
- Module:
- GX.dll [WIN], GX.framework [MAC]