Screen shooter add-on.
- Source:
Summary
Methods
Detailed Description
Methods
shot(formatopt, qualityopt)
Take a screenshot and download as screenshot.png image.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
format |
string |
<optional> |
"image/png" | The MIME image format ("image/png", "image/jpeg", "image/webp" and so on) |
quality |
number |
<optional> |
1.0 | Number between 0 and 1 for types: "image/jpeg", "image/webp" |
- Deprecated
- Use module:screen.shot instead
- Source:
Example
var m_scrn = require("screenshooter");
m_scrn.shot();