ImageToBMP

Restores a bitmap image

int ImageToBMP(
        const IMAGE     *srcImage,
        BYTE            *destBitmap
)

Parameters
*srcImage
Input image data structure address
*destBitmap
Output bitmap image data address

Return Value
NORMAL(0): Successful completion
ERROR(-1): Unsuccessful completion

Description
Restores the image memory data to a bitmap image.
Bitmap formats after conversion are shown below.
Bits per pixel : 8/24 bits
Image compression : None only
If the input image storage space is specified as NULL, a black image is returned.

Notes