This commit is contained in:
gb 2022-08-02 17:32:34 +08:00
commit 7cf086f567
2 changed files with 3 additions and 4 deletions

View File

@ -934,8 +934,6 @@ int hg_scanner_402::writedown_image_configuration(void)
else
ic.imageRotateDegree = 0;
ic.imageRotateDegree *= 90.0f;
ic.is_duplex = (image_prc_param_.bits.page == PAGE_DOUBLE
|| image_prc_param_.bits.page == PAGE_OMIT_EMPTY
|| image_prc_param_.bits.page == PAGE_OMIT_EMPTY_RECEIPT

View File

@ -467,12 +467,13 @@ namespace hg_imgproc
mats_.clear();
float scale = img_conf_.fillhole.fillholeratio / 100.0;
CImageApplyOutHole outh(200,scale,50);
float val = img_conf_.resolution_dst / 10;
CImageApplyOutHole outh(val,scale,50);
outh.apply(mats,img_conf_.is_duplex);
mats_ = mats;
return ret;
return ret;
}
int resolution_change()
{