프로젝트

일반

사용자정보

개정판 a860bafc

IDa860bafc057611814a09fb5898d619fb81e89017
상위 0c575433
하위 079a438a

김태성이(가) 5달 전에 추가함

issue #0000 compare 기능 수정

Change-Id: Idbac07b170a08bc67f50d315912f314da1ef8938

차이점 보기:

KCOM_API/ServiceDeepView.svc.cs
311 311
                    }
312 312
                }
313 313

  
314
                using (Markus.Image.ImageCompare compareLib = new Markus.Image.ImageCompare())
315
                {
316
                    if (resultSize != null)
317
                    {
318
                        result = compareLib.CompareReturnRects(originFile, targetFile, new System.Drawing.Size(20, 20),resultSize);
319
                    }
320
                    else
321
                    {
322
                        result = compareLib.CompareReturnRects(originFile, targetFile, new System.Drawing.Size(20, 20), IsResultTargatSize);
323
                    }
324
                }
314
                //using (Markus.Image.ImageCompare compareLib = new Markus.Image.ImageCompare())
315
                //{
316
                //    //if (resultSize != null)
317
                //    //{
318
                //    //    result = compareLib.CompareReturnRects(originFile, targetFile, new System.Drawing.Size(10, 10),resultSize);
319
                //    //}
320
                //    //else
321
                //    //{
322
                //    //    result = compareLib.CompareReturnRects(originFile, targetFile, new System.Drawing.Size(10, 10), IsResultTargatSize);
323
                //    //}
324
                //}
325 325
            }
326 326
            catch (Exception ex)
327 327
            {
......
371 371
                //    targetFile = String.Format(KCOM_API.Properties.Settings.Default.TileSoucePath_SUB, projectNo, targetDocItem_ID, targetPageNo);
372 372
                //}
373 373

  
374
                using (Markus.Image.ImageCompare compareLib = new Markus.Image.ImageCompare())
375
                {
376
                    result = compareLib.CompareReturnRects(originFile, targetFile,new System.Drawing.Size(20, 20),false);
377
                }
374
                //using (Markus.Image.ImageCompare compareLib = new Markus.Image.ImageCompare())
375
                //{
376
                //    result = compareLib.CompareReturnRects(originFile, targetFile,new System.Drawing.Size(20, 20),false);
377
                //}
378 378
            }
379 379
            catch (Exception ex)
380 380
            {
......
433 433
                    targetFile = String.Format(KCOM_API.Properties.Settings.Default.TileSoucePath_SUB, projectNo, targetDocItem_ID, targetPageNo);
434 434
                }
435 435

  
436
                using (Markus.Image.ImageCompare compareLib = new Markus.Image.ImageCompare())
437
                {
436
                //using (Markus.Image.ImageCompare compareLib = new Markus.Image.ImageCompare())
437
                //{
438 438

  
439
                    result = compareLib.CompareReturnRects(originFile, targetFile, new System.Drawing.Size(20, 20),false);
440
                }
439
                //    result = compareLib.CompareReturnRects(originFile, targetFile, new System.Drawing.Size(20, 20),false);
440
                //}
441 441
            }
442 442
            catch (Exception ex)
443 443
            {

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)