imgdb::JpegSaver::SetEnableQualityAutoAbatementFlag Member Function

Syntax

void SetEnableQualityAutoAbatementFlag(
     bool bEnable
);

Parameters

Name Description
in bEnable The auto-abatement enabled flag for JPEG quality.

Return Values

None.

Description

Sets the auto-abatement enabled flag for JPEG quality.

When auto-abatement is enabled, then when an encoded image exceeds a specific size, the quality is automatically lowered and the image is re-encoded. Quality is adjusted from the set value in decrements of 10. When disabled, the ResultErrorTooLargeFile error occurs when the size is exceeded.


CONFIDENTIAL