Commit 7466f0f6 张东亮

图片占用问题

1 个父辈 9b03a426
......@@ -4,6 +4,7 @@ using Model;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
......@@ -242,9 +243,9 @@ namespace SmartScan
});
if (string.IsNullOrEmpty(filename))
return false;
Bitmap bmp = null;
bmp = new(filename);
bmp = ObjConversion.ReadImageFile(filename); ;
workCodeInfo = BLLCommon.cameraVision.GetBarCode(bmp);
Common.frmMain.Invoke(delegate ()
{
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!