[Sikuli-driver] [Bug 878864] Re: [request] want Pattern.anySize() and Pattern.anyColor() --- feature added 2018-06-25 build #28

2023-09-20 Thread abuzer stream
Hi
Has this feature been added?
In 2.0.5, I get the error "Pattern object has no attribute anyColor".

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to SikuliX.
https://bugs.launchpad.net/bugs/878864

Title:
  [request] want Pattern.anySize() and Pattern.anyColor() --- feature
  added 2018-06-25 build #28

Status in SikuliX:
  Fix Committed

Bug description:
  *** implementation 
  as resize before search operation:
  - Settings.AlwaysResize for general proportional resize
  - Pattern.resize resize only for the given image

  additionally:
  - Settings.ImageCallback do what is needed with an image before a search op 
in a callback function

  see docs:
  
http://sikulix-2014.readthedocs.io/en/latest/scripting.html#Settings.AlwaysResize

  

  as a general solution, Sikuli needs to know, how the image should be
  rescaled.

  the same image is found in different screen resolutions by Sikuli
  though.

  ---
  based on the original description of the planned Sikuli features:

  anySize() was supossed to solve different resolutions problems.

  But it is not yet available in Sikuli script.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/878864/+subscriptions


___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 878864] Re: [request] want Pattern.anySize() and Pattern.anyColor() --- feature added 2018-06-25 build #28

2018-06-26 Thread RaiMan
see the implementation information in the bug description above.

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/878864

Title:
  [request] want Pattern.anySize() and Pattern.anyColor() --- feature
  added 2018-06-25 build #28

Status in Sikuli:
  Fix Committed

Bug description:
  *** implementation 
  as resize before search operation:
  - Settings.AlwaysResize for general proportional resize
  - Pattern.resize resize only for the given image

  additionally:
  - Settings.ImageCallback do what is needed with an image before a search op 
in a callback function

  see docs:
  
http://sikulix-2014.readthedocs.io/en/latest/scripting.html#Settings.AlwaysResize

  

  as a general solution, Sikuli needs to know, how the image should be
  rescaled.

  the same image is found in different screen resolutions by Sikuli
  though.

  ---
  based on the original description of the planned Sikuli features:

  anySize() was supossed to solve different resolutions problems.

  But it is not yet available in Sikuli script.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/878864/+subscriptions

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 878864] Re: [request] want Pattern.anySize() and Pattern.anyColor() --- feature added 2018-06-25 build #28

2018-06-26 Thread AndyLv
@RaiMan, hello, I tried 【Latest available Build: 1.1.3-SNAPSHOT
2018-06-26_16:01 Travis Build 29
,sikulixsetup-1.1.3-20180626.160145-28-forsetup.jar】,after setup, I gave
it a try this morning. but it seemed to me that it still failed, error
info is 【 if
exists(Pattern("1530065699523.png").similar(0.9).anySize(),3600):
AttributeError: 'Pattern' object has no attribute 'anySize' 】. could you
give me some advice?

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/878864

Title:
  [request] want Pattern.anySize() and Pattern.anyColor() --- feature
  added 2018-06-25 build #28

Status in Sikuli:
  Fix Committed

Bug description:
  *** implementation 
  as resize before search operation:
  - Settings.AlwaysResize for general proportional resize
  - Pattern.resize resize only for the given image

  additionally:
  - Settings.ImageCallback do what is needed with an image before a search op 
in a callback function

  see docs:
  
http://sikulix-2014.readthedocs.io/en/latest/scripting.html#Settings.AlwaysResize

  

  as a general solution, Sikuli needs to know, how the image should be
  rescaled.

  the same image is found in different screen resolutions by Sikuli
  though.

  ---
  based on the original description of the planned Sikuli features:

  anySize() was supossed to solve different resolutions problems.

  But it is not yet available in Sikuli script.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/878864/+subscriptions

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 878864] Re: [request] want Pattern.anySize() and Pattern.anyColor() --- feature added 2018-06-25 build #28

2018-06-26 Thread RaiMan
** Description changed:

+ *** implementation 
+ as resize before search operation:
+ - Settings.AlwaysResize for general proportional resize
+ - Pattern.resize resize only for the given image
+ 
+ additionally:
+ - Settings.ImageCallback do what is needed with an image before a search op 
in a callback function
+ 
+ see docs:
+ 
http://sikulix-2014.readthedocs.io/en/latest/scripting.html#Settings.AlwaysResize
+ 
+ 
+ 
  as a general solution, Sikuli needs to know, how the image should be
  rescaled.
  
  the same image is found in different screen resolutions by Sikuli
  though.
  
- --- 
+ ---
  based on the original description of the planned Sikuli features:
  
  anySize() was supossed to solve different resolutions problems.
  
  But it is not yet available in Sikuli script.

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/878864

Title:
  [request] want Pattern.anySize() and Pattern.anyColor() --- feature
  added 2018-06-25 build #28

Status in Sikuli:
  Fix Committed

Bug description:
  *** implementation 
  as resize before search operation:
  - Settings.AlwaysResize for general proportional resize
  - Pattern.resize resize only for the given image

  additionally:
  - Settings.ImageCallback do what is needed with an image before a search op 
in a callback function

  see docs:
  
http://sikulix-2014.readthedocs.io/en/latest/scripting.html#Settings.AlwaysResize

  

  as a general solution, Sikuli needs to know, how the image should be
  rescaled.

  the same image is found in different screen resolutions by Sikuli
  though.

  ---
  based on the original description of the planned Sikuli features:

  anySize() was supossed to solve different resolutions problems.

  But it is not yet available in Sikuli script.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/878864/+subscriptions

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp