BMPToImageSize
Gets the size after bitmap image conversion
int BMPToImageSize(
const BYTE *srcBitmap,
const int maxX,
const int maxY
)
Parameters
*srcBitmap
|
Input bitmap image data address
|
maxX
|
X direction image maximum size
|
maxY
|
Y direction image maximum size
|
Return Value
Required space size (in bytes)
ERROR(-1): Unsuccessful completion
Description
Library to get the storage size of the converted data before converting a bitmap image. To convert a bitmap image, you need to allocate space of the required size by calling this method before calling a conversion method.
Notes