← Back to team overview

sikuli-driver team mailing list archive

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

 

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



References