From 2c2809d77ee1c1540b88a3b662f7113ab7d42cdf Mon Sep 17 00:00:00 2001
From: mrDarker <mr.darker@163.com>
Date: 星期二, 15 七月 2025 11:02:47 +0800
Subject: [PATCH] 重构:保存图片逻辑,替换 IplImage 为 cv::Mat - 将 保存图片中的 IplImage 接口升级为现代 OpenCV cv::Mat 实现 - 添加图像指针、尺寸等边界条件校验,避免空指针和非法尺寸写入 - 简化图像转换与保存流程,提高代码可维护性 - 保留 JPEG 压缩质量参数,保持原有功能不变
---
Common_Class/SISAssem/SISAssem.vcxproj | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Common_Class/SISAssem/SISAssem.vcxproj b/Common_Class/SISAssem/SISAssem.vcxproj
index cab5378..19206e2 100644
--- a/Common_Class/SISAssem/SISAssem.vcxproj
+++ b/Common_Class/SISAssem/SISAssem.vcxproj
@@ -22,6 +22,7 @@
<ProjectGuid>{147FB2E2-F781-431F-92A5-15F9E72E2FF2}</ProjectGuid>
<RootNamespace>SISAssem</RootNamespace>
<Keyword>MFCDLLProj</Keyword>
+ <WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
--
Gitblit v1.9.3