Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

boxcutter-wrapper

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

boxcutter-wrapper

boxcutter is a windows screenshot tools

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

boxcutter

BoxCutter is a windows screenshot tools write in C++ https://github.com/mdrasmus/boxcutter

This tools is a wrapper in node.JS

How To Use

var boxcutter = require('boxcutter-wrapper');

boxcutter = new boxcutter({
fullscreen : true, //take a fullscreen screenshot
X1:null, // do a screenshot between X1/Y1 and X2/Y2
Y1:null,
X2:null,
Y2:null,
fastMode:null, // fastmode don't support any options, is fullscreen and in BMP, but faster
outputFormat:null
});


boxcutter.shot(function(err, file){
try{
    console.log(b);
    console.log(file);
}
catch(e){
    console.log(e);
}
});

Parameters

X1/X2/Y1/Y2 : The coords of the rectangle for the screenshot

fullscreen : take a fullscreen screenshot (coords have priority)

outputFormat : select the outputFormat of the image . PNG or BMP

fastMode : Skip configuration, take a fast screenshot in BMP

Keywords

FAQs

Package last updated on 01 Feb 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc