添加部分日志
This commit is contained in:
parent
556d58e56d
commit
ddb7aafffc
|
@ -1282,7 +1282,21 @@ Result huagao_ds::imageInfoGet(const Identity&, ImageInfo& data)
|
|||
data.setYResolution((float)res);
|
||||
data.compression(m_compression);
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
load_sane_util::log_info(L" imageInfoGet is false\r\n", 0);
|
||||
}
|
||||
wchar_t buf[128];
|
||||
std::wstring f(L"imageInfoGet:");
|
||||
int h = data.height();
|
||||
int w = data.width();
|
||||
int bitsPerPixel = data.bitsPerPixel();
|
||||
Compression compression = data.compression();
|
||||
PixelType pixelType = data.pixelType();
|
||||
bool planar = data.planar();
|
||||
Fix32 xr = data.xResolution();
|
||||
swprintf_s(buf, _countof(buf) - 1,L"imageInfoGet: h-->%d w-->%d bitsPerPixel-->%d compression-->%d pixelType-->%d planar-->%d\r\n", h, w, bitsPerPixel, compression, pixelType, planar);
|
||||
load_sane_util::log_info(buf, 0);
|
||||
return success();
|
||||
}
|
||||
Result huagao_ds::imageLayoutGet(const Identity&, ImageLayout& data)
|
||||
|
|
Loading…
Reference in New Issue