浏览代码

Merge branch 'OTSRelease3_0' of http://36.129.163.148:30080/gogsadmin/OTS into OTSRelease3_0

gsp 7 月之前
父节点
当前提交
6f691e73e0

+ 1 - 1
OTSIncAReportApp/1-UI/Control_Grids/ParticlesGridDevidePage/ParticlesGridDevidePage.cs

@@ -456,7 +456,7 @@ namespace OTSIncAReportGrids
             if (offset_rect.Width > 0 && offset_rect.Height > 0)
             {
                 //最后通过list_showsegment组建成新的图片,进行返回
-                new_ret_bp = ls_bt.Clone(offset_rect, PixelFormat.Format8bppIndexed);
+                new_ret_bp = ls_bt.Clone(offset_rect, ls_bt.PixelFormat);
             }
             else
             {

+ 1 - 1
OTSIncAReportApp/1-UI/OTSReportExport/DataIntegration/ImageProcessor.cs

@@ -93,7 +93,7 @@ namespace OTSIncAReportApp._1_UI.OTSReportExport.DataIntegration
             if (offset_rect.Width > 0 && offset_rect.Height > 0)
             {
                 //最后通过list_showsegment组建成新的图片,进行返回
-                new_ret_bp = ls_bt.Clone(offset_rect, PixelFormat.Format8bppIndexed);
+                new_ret_bp = ls_bt.Clone(offset_rect, ls_bt.PixelFormat);
             }
             else
             {

+ 1 - 1
OTSInclusionsTraceability/DataOperation.cs

@@ -226,7 +226,7 @@ namespace OTSInclusionsTraceability
             if (offset_rect.Width > 0 && offset_rect.Height > 0)
             {
                 //最后通过list_showsegment组建成新的图片,进行返回
-                new_ret_bp = ls_bt.Clone(offset_rect, PixelFormat.Format8bppIndexed);
+                new_ret_bp = ls_bt.Clone(offset_rect, ls_bt.PixelFormat);
             }
             else
             {