设置为单面时,关闭交换正反面功能

This commit is contained in:
yangjiaxuan 2024-02-27 14:13:54 +08:00
parent 4b458f9ee5
commit 02e9a54029
1 changed files with 4 additions and 0 deletions

View File

@ -5819,6 +5819,10 @@ int hg_scanner::image_configuration(SCANCONF& ic)
ic.contrast = 4;
ic.gamma = 1.0f;
}
if (image_prc_param_.bits.page == PAGE_SINGLE)
{
ic.is_switchfrontback = false;
}
img_conf_ = ic;
VLOG_MINI_1(LOG_LEVEL_DEBUG_INFO, "ic.pixtype=%d\r\n", ic.pixtype);