|  |  | 
|---|---|
| USB 2.0 USB 3.x GigE | - | 
Syntax
INT israw_SetImageInfo(UINT unFileID, UINT unWidth, UINT unHeight, UINT unBitsPerPixel)
Description
israw_SetImageInfo() sets the width, height, and bit depth of the data that is saved in the RAW file (see is_raw_AddFrame()).
Input parameters
| unFileID | Instance ID set by the israw_InitFile() function | 
| Width | Image width | 
| Height | Image height | 
| BitsPerPixel | Bit depth (bits per pixel) | 
Return values
| IS_AVI_NO_ERR | No error, function executed successfully. | 
| IS_AVI_ERR_EXCEPTION | An error has occurred. | 
| IS_AVI_ERR_GENERIC | Generic error | 
| IS_AVI_ERR_INVALID_ID | The indicated instance could not be found. Either the ID is invalid or the instance has already been deleted using israw_ExitFile(). | 
| IS_AVI_ERR_INVALID_VALUE | No valid file name was selected. | 
| IS_AVI_ERR_NOT_SUPPORTED | The file was opened in "read-only" mode (see israw_InitFile()). | 
Related functions