saneuser库正确设置扫描图像的dpi
This commit is contained in:
parent
eeb9059656
commit
6110638d6b
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue