201SDK (Software development Kit)
© 2010 Thorlabs
7.3.55
is_LoadImageMem
Syntax
INT is_LoadImageMem (HIDS hCam, char* File, char** ppcImgMem, int* pid)
Description
is_LoadImageMem() loads an image from a file. The image must have been saved in BMP format.
The image, together with its colour format and colour depth properties, is loaded into a newly
allocated image memory.
Using the is_FreeImageMem() function, you can release the image memory again.
Input Parameters
Filename You can either pass an absolute or a relative
path.
If NULL is passed, the "Open File" dialogue opens.
Pointer to a variable containing the starting address
Pointer to a variable containing the memory ID
Return Values
Function executed successfully
IS_FILE_READ_INVALID_BMP_ID
Bitmap format of the image to be loaded is invalid.
Related Functions
Is_LoadImage()
is_GetImageMem()
is_SetImageMem()
is_SaveImage()
is_SaveImageEx()
is_SaveImageMem()
is_SaveImageMemEx()
147
200
177
270
210
211
213
214