© 2013 Thorlabs GmbH
4 Programming (SDK)
395
4.5.13 is_LoadImage
Syntax
INT is_LoadImage (HIDS hCam, char* File)
Description
Attention
This function is obsolete and should not be used anymore. We recommend to use the is_ImageFile()
function instead (see also Obsolete functions ).
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
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).
File cannot be opened for writing or reading.
IS_INVALID_MEMORY_POINTER
Invalid pointer or invalid memory ID
One of the submitted parameters is outside the valid
range or is not supported for this sensor or is not
available in this mode.
The camera model used here does not support this
function or setting.
Function executed successfully
Related functions
Is_ImageFile()
is_GetImageMem()
is_SetImageMem()
264
379
264
247
337