개정판 a860bafc
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