USB 2.0 USB 3.x GigE |
- |
Syntax
INT isavi_SetImageQuality (INT nAviID, INT q)
Description
isavi_SetImageQuality() indicates the quality for the frames to be compressed. You can change the image quality at any time; it then applies to all subsequent frames. For compression, the system uses the JPEG algorithm.
Input parameters
nAviID |
Instance ID set by the isavi_InitAVI() function. |
q |
Image quality [1 = lowest ... 100 = highest] |
Return values
IS_AVI_NO_ERR |
No error, function executed successfully. |
IS_AVI_ERR_INVALID_ID |
The indicated AVI instance could not be found. Either the AVI ID is invalid or the instance has already been deleted using isavi_ExitAVI(). |
IS_AVI_ERR_INVALID_VALUE |
The q parameter is outside the range of 1…100. |
IS_AVI_ERR_INVALID_FILE |
The file has no valid AVI format. |
Related functions