sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #47514
[Bug 878864] Re: [request] want Pattern.anySize() and Pattern.anyColor() --- feature added 2018-06-25 build #28
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
References