Home > C: Programming > AVI function descriptions > History back  Previous chapter  Next chapter  Print  

isavi_SetImageQuality

uEye Camera Manual Version 4.00

isavi_SetImageQuality

Windows_Logo

Linux_Logo

USB 2.0

USB 3.0

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

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

isavi_SetFrameRate()

isavi_SetImageSize()


Suggestion for improvement? Send us your short Feedback on this chapter. Thank you very much!

For technical questions please contact you local distributor or use the support form on our website.


© 2012 IDS Imaging Development Systems GmbH
http://www.ids-imaging.com