USB 2.0 USB 3.x GigE |
- |
Syntax
INT israw_GetImageInfo(UINT unFileID, UINT* punWidth, UINT* punHeight, UINT* punBitsPerPixel)
Description
israw_GetImageInfo() returns the width, height, and bit depth of the data which are saved in the RAW file.
Input parameters
unFileID |
Instance ID set by the israw_InitFile() function |
punWidth |
Image width |
punHeight |
Image height |
punBitsPerPixel |
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_FILE_NOT_OPEN |
The file is not open. |
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_PARAMETER |
One of the submitted parameters is outside the valid range. |
Related functions