Skip to content

New feature request: Load image from file #111

Open
@neoarc

Description

@neoarc

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    RequestA cool feature request for the library

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions