Skip to content

Create screenshot from region #154

Description

@parkpaya

Short summary
Trying to take screenshot on specific region of screen but still can't figure how

Detailed question
What expected

const {  Region ,ImageWriter,ScreenAction} = require("@nut-tree/nut-js");
ImageWriter.store(new ScreenAction.grabScreenRegion(new Region(x,y,w,h)),"myImage.png");

but get an error

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions