saneuser库正确设置扫描图像的dpi

This commit is contained in:
yangjiaxuan 2023-08-12 16:30:06 +08:00
parent eeb9059656
commit 6110638d6b
1 changed files with 1 additions and 0 deletions

View File

@ -1049,6 +1049,7 @@ void HGAPI HGSaneDeviceImpl::ThreadFunc(HGThread thread, HGPointer param)
HGBase_CreateImageWithData(buffer, &imgInfo, &img);
if (NULL != img)
{
HGBase_SetImageDpi(img, p->m_dpi, p->m_dpi);
p->m_imageFunc((HGSaneDevice)p, img, p->m_imageParam);
HGBase_DestroyImage(img);
}