robot
robot copied to clipboard
New feature request: Load image from file
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.