图像头添加DPI数据
This commit is contained in:
parent
6305812850
commit
4bef595693
|
@ -2687,6 +2687,7 @@ int hg_scanner::save_final_image(hg_imgproc::LPIMGHEAD head, void* buf)
|
||||||
img.data = (unsigned char*)buf;
|
img.data = (unsigned char*)buf;
|
||||||
img.bytes = head->total_bytes;
|
img.bytes = head->total_bytes;
|
||||||
img.flag.statu = head->statu;
|
img.flag.statu = head->statu;
|
||||||
|
img.flag.dpi = resolution_;
|
||||||
|
|
||||||
if (img.flag.statu)
|
if (img.flag.statu)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue