IBitDepth在1/8/24之外,统一采用24位彩色

This commit is contained in:
gb 2023-07-24 16:47:36 +08:00
parent b6f7aaf348
commit 790381e339
1 changed files with 2 additions and 2 deletions

View File

@ -1950,11 +1950,11 @@ void huagao_ds::init_support_caps(void)
else if (mech == 24)
val = COLOR_RGB;
else
val = mech;
val = COLOR_RGB; // mech;
}
{
wchar_t info[128] = { 0 };
swprintf_s(info, _countof(info) - 1, L"set CapType::IBitDepth = %d\r\n", val);
swprintf_s(info, _countof(info) - 1, L"set CapType::IBitDepth = %d(%d)\r\n", val, (int)mech);
load_sane_util::log_info(info, 1);
}
SET_SANE_OPT_EX(ret, scanner_, ex_color_mode, &val);