Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New feature request: Load image from file #111

Open
neoarc opened this issue Aug 31, 2018 · 0 comments · May be fixed by #112
Open

New feature request: Load image from file #111

neoarc opened this issue Aug 31, 2018 · 0 comments · May be fixed by #112
Labels
Request A cool feature request for the library
Milestone

Comments

@neoarc
Copy link

neoarc commented Aug 31, 2018

A short and descriptive title

  • Load image from file

A detailed description of the feature

  • Simple, Load image from localfile

A few typical use case scenarios

  • Related to my previous request, see pseudo code
    Screen.grab(imageA, ...whole screen...)
    Screen.loadFile(imageB, ...image of some button...)
    var coord = new Coord;
    if (imageA.findImage(imageB, coord) == true) {
    robot.Mouse().click(coord); // click found image
    }

How you expect the feature to work

  • This feature does not have to be fast
  • It should be able to load commonly used image formats (jpg, png, bmp).
  • The loaded result must be in the same format as the Image created in Screen.grab.

Any other useful information

  • None

PS. Sorry, I'm finally robot-js user, not robot native. But I'm a c ++ developer.

@dkrutsko dkrutsko added the Request A cool feature request for the library label Mar 25, 2022
@dkrutsko dkrutsko added this to the Robot 2.1.0 milestone Mar 25, 2022
@dkrutsko dkrutsko linked a pull request Mar 25, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Request A cool feature request for the library
Development

Successfully merging a pull request may close this issue.

2 participants