213SDK (Software development Kit)
© 2010 Thorlabs
7.3.65
is_SaveImageMem
Syntax
INT is_SaveImageMem (HIDS hCam, const IS_CHAR* File,
char* pcMem, int nID)
Description
is_SaveImageMem() saves an image in bitmap (*.BMP) format to a file. The images are read out
from the specified image memory. The bitmap is stored with the colour depth that was used when
allocating the image memory (in DIB mode) or that was set for the current colour mode (in Direct3D
mode). JPEG files are always saved with a colour depth of 8 or 24 bits.
In Direct3D mode, overlay data is not saved.
Input Parameters
Pointer to a string containing the BMP filename You can either pass an absolute
or a relative path.
If NULL is passed, the "Save as" dialogue will be displayed.
Pointer to the image memory
Image memory ID
You can link USE_ACTUAL_IMAGE_SIZE and nID by a logical OR to save the image
with the currently set image size.
Return Values
Function executed successfully
Related Functions
is_SaveImage()
is_SaveImageEx()
is_SaveImageMemEx()
is_LoadImage()
Is_LoadImageMem()
is_GetImageMem()
is_SetImageMem()
210
211
214
200
201
177
270