Please enable JavaScript to view this site.

IDS Software Suite 4.96.1

Windows_Logo
Linux_Logo

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

isavi_SetFrameRate()

isavi_SetImageSize()

© 2022 IDS Imaging Development Systems GmbH