© 2016 Thorlabs Scientific Imaging
4 Programming (SDK)
411
4.4.18 isavi_SetImageQuality
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
Instance ID set by the isavi_InitAVI() function.
Image quality [1 = lowest ... 100 = highest]
Return values
Function executed successfully.
The indicated AVI instance could not be found.
Either the AVI ID is invalid or the instance has
already been deleted using isavi_ExitAVI().
The q parameter is outside the range of 1…100.
The file has no valid AVI format.
Related functions
isavi_SetFrameRate()
isavi_SetImageSize()