Windows: similar(1.00) in Pattern Setting dialog: match not shown

Asked by joe fu

it could be a bug, if I set the similarly to 1.00 in the Matching Preview tab of the Pattern Setting dialog, the preview won't show the matched image in red. It will show it red if I set to 0.99.

but if i run the script, actually Sikuli can find the image if set it to 1.00 .... Pattern("fficon.png").exact().similar(1.00)

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

--- 1.
it should be either
Pattern().exact()
or
pattern().similar(1)

since exact() means similar(1)

That the preview is producing this, is a bug - I will report it.

--- 2.
on my Mac at least using Sikuli X, I cannot reproduce what you are telling.

What is your environment?

Revision history for this message
joe fu (jfu-yahoo) said :
#2

i'm using win 7.

Revision history for this message
Best RaiMan (raimund-hocke) said :
#3

committed for Win 7. I make a bug.

pls. set to solved.

Revision history for this message
joe fu (jfu-yahoo) said :
#4

Thanks RaiMan, that solved my question.