Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
KenPanCS
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
QCD
Tools
KenPanCS
Commits
c687b6cc
Commit
c687b6cc
authored
Feb 04, 2022
by
tsuji
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pureverify引数を追加
parent
645464d6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
2 deletions
+14
-2
CompareTIFF.cs
Code/CSRender/CSRender/CompareTIFF.cs
+8
-1
MainWindow.xaml.cs
Code/CSRender/CSRender/MainWindow.xaml.cs
+6
-1
No files found.
Code/CSRender/CSRender/CompareTIFF.cs
View file @
c687b6cc
...
...
@@ -22,7 +22,8 @@ namespace CSRender
class
CompareTIFF
{
public
static
string
runPureVerify
(
string
targetDir
,
string
referenceDir
,
string
workPath
,
string
shiftPixel
,
string
colorMargin
,
string
removePoint
,
string
shadingOff
,
bool
reportFlag
,
string
reportName
)
string
shiftPixel
,
string
colorMargin
,
string
removePoint
,
string
shadingOff
,
bool
reportFlag
,
string
reportName
,
string
inDiffPath
)
{
//実行用コンソールの呼び出し
ProcessStartInfo
processStartInfo
=
new
ProcessStartInfo
();
...
...
@@ -82,6 +83,12 @@ namespace CSRender
processStartInfo
.
Arguments
+=
reportName
;
processStartInfo
.
Arguments
+=
"\" "
;
}
//差異画像の出力
processStartInfo
.
Arguments
+=
"/topPageInfo "
;
processStartInfo
.
Arguments
+=
inDiffPath
;
processStartInfo
.
Arguments
+=
" "
;
//レポート記述内容の参照先
processStartInfo
.
Arguments
+=
"/topPageInfo "
;
string
textPath
=
System
.
IO
.
Path
.
Combine
(
"PureVerify.Data"
,
"RipVerify"
,
"work"
,
"OUT_INFO"
,
"CSReportInf.txt"
);
...
...
Code/CSRender/CSRender/MainWindow.xaml.cs
View file @
c687b6cc
...
...
@@ -144,6 +144,11 @@ namespace CSRender
return
;
}
string
workLogPath
=
System
.
IO
.
Path
.
Combine
(
workBox
.
Text
,
"report"
);
string
outDiffPath
=
System
.
IO
.
Path
.
Combine
(
workBox
.
Text
,
"OUT_DIFF"
);
//DIFF画像の出力先パス
if
(!
Directory
.
Exists
(
outDiffPath
))
{
Directory
.
CreateDirectory
(
outDiffPath
);
//DIFF画像の出力先パスが無ければ作成
}
bool
reportFlag
=
false
;
try
...
...
@@ -275,7 +280,7 @@ namespace CSRender
{
//PureVerifyの実行
workDir
=
CompareTIFF
.
runPureVerify
(
targetTIFFPath
,
referenceTIFFPath
,
workBox
.
Text
,
shiftPixel
,
colorMargin
,
removePoint
,
shadingOff
,
reportFlag
,
reportBox
.
Text
);
,
shiftPixel
,
colorMargin
,
removePoint
,
shadingOff
,
reportFlag
,
reportBox
.
Text
,
outDiffPath
);
}
catch
(
Exception
ex
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment