imgdb::MpSaver::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. When just the first image exceeds a specific size , the quality is abated by half each, but when the total of both images exceeds a specific size, the quality is abated by 10 each. When disabled, the ResultErrorTooLargeFile error occurs when the size is exceeded.


CONFIDENTIAL