ImageToBMP2
Restores a bitmap image 2
int ImageToBMP2(
const BYTE *srcImage,
const int format,
const int sizeX,
const int sizeY,
BYTE *destBitmap
)
Parameters
*srcImage
|
Input image data address
|
format
|
Converted image format
I_MONOCHRO: Monochrome
I_RGBCOLOR: color
|
sizeX
|
X direction image size
|
sizeY
|
Y direction image size
|
*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