IBitDepth在1/8/24之外,统一采用24位彩色
This commit is contained in:
parent
b6f7aaf348
commit
790381e339
|
@ -1950,11 +1950,11 @@ void huagao_ds::init_support_caps(void)
|
||||||
else if (mech == 24)
|
else if (mech == 24)
|
||||||
val = COLOR_RGB;
|
val = COLOR_RGB;
|
||||||
else
|
else
|
||||||
val = mech;
|
val = COLOR_RGB; // mech;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
wchar_t info[128] = { 0 };
|
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);
|
load_sane_util::log_info(info, 1);
|
||||||
}
|
}
|
||||||
SET_SANE_OPT_EX(ret, scanner_, ex_color_mode, &val);
|
SET_SANE_OPT_EX(ret, scanner_, ex_color_mode, &val);
|
||||||
|
|
Loading…
Reference in New Issue