![]() |
![]() |
---|---|
USB 2.0 USB 3.0 GigE |
USB 2.0 USB 3.0 GigE |
Syntax
INT is_LoadImage (HIDS hCam, char* File)
Description
This function is obsolete and should not be used anymore. We recommend to use the is_ImageFile() function instead. |
is_LoadImage() loads an image from a file. The image must have been saved in BMP format. It is loaded into the active image memory.
Input parameters
hCam |
Camera handle |
File |
Pointer to a filename You can either pass an absolute or a relative path. If NULL is passed, the "Open File" dialog opens. |
Return values
IS_FILE_READ_INVALID_BMP_ID |
The specified file is not a valid bitmap file. |
IS_FILE_READ_INVALID_BMP_SIZE |
The bitmap size is not correct (bitmap too large). |
IS_FILE_WRITE_OPEN_ERROR |
File cannot be opened for writing or reading. |
IS_INVALID_CAMERA_HANDLE |
Invalid camera handle |
IS_INVALID_MEMORY_POINTER |
Invalid pointer or invalid memory ID |
IS_INVALID_PARAMETER |
One of the submitted parameters is outside the valid range or is not supported for this sensor or is not available in this mode. |
IS_NO_SUCCESS |
General error message |
IS_NOT_SUPPORTED |
The camera model used here does not support this function or setting. |
IS_SUCCESS |
Function executed successfully |
Related functions
•Is_ImageFile()
•is_GetImageMem()
•is_SetImageMem()