ImageToBMPSize2
Gets the size after bitmap image restoration 2
int ImageToBMPSize2(
        const int format,
        const int sizeX,
        const int sizeY
)
 
Parameters
| format 
 | Converted image format I_MONOCHRO: Monochrome
 I_RGBCOLOR: color
 
 | 
| sizeX 
 | X direction image size 
 | 
| sizeY 
 | Y direction image size 
 | 
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