Image.fromScreen
Jump to navigation
Jump to search
Image.fromScreen
returns an image of the current state of the screen including all visible layers, scaled to the size specified.
Arguments
Parameter Name | Type | Default Value | Meaning |
---|---|---|---|
width | number | 960 | the width to scale the resulting screen capture to. |
height | number | 640 | the height to scale the resulting screen capture to. |
Example
img = Image.fromScreen(96, 64)