ImageToBMPSize

Gets the size after bitmap image restoration

int ImageToBMPSize(
        const BYTE *srcImage
)

Parameters
*srcImage
Input image data structure address

Return Value
Required space size (in bytes)
ERROR(-1): Unsuccessful completion

Description
Library to get the storage size of the data to be stored before restoring a bitmap image. To restore a bitmap image, you need to allocate the space of the required size by calling this library before calling the restoration library.

Notes