Difference between revisions of "Image.fromScreen"
Jump to navigation
Jump to search
(Created page with "<c>Image.fromScreen</c> returns an image of the current state of the screen including all visible layers, scaled to the size specified. === Arguments === {| class="wikit...") |
(No difference)
|
Latest revision as of 03:15, 18 January 2025
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)