41 / 58
Save functions:
int
iCube
SDK_
SaveToFile(int nCamIndex,char * Name)
Purpose: saves a bitmap, jpg or tiff.
Linux: tiff is not supported by the linux api tiff can be used to save 16bit per color
channel pictures (3iCube only). This is only possible, if REG_DATA_TRANSMISSION is
set to 1. If the camera is in freerun mode, this function returns when the next
available frame has been saved.
If the camera is in trigger mode, this function marks the next available frame to be
saved. If the frame arrives (SetTrigger(TRIG_SW_DO)), it will be saved.
Description
Parameters
int
CamIndex,
char*
Name
Return value
int
stat
Return value:
int
stat:
IC_SUCCESS: success
else: error
Parameters:
int
nCamIndex: index of camera.
char*
Name: the name of the file, the extension sets the type of the saved image
(bmp,jpg, tif).