Image
Commands for image operations.
Image Operation Commands
Image commands are applied on entire canvas
Command | Value | Description |
---|---|---|
image-canvas | width:height | Change canvas size |
image-copy | Copy image to clipboard | |
image-copy-selection | Copy selection from all layers as merged | |
image-crop | Crop image to selected area | |
image-flatten | Flatten all layers | |
image-flip-horizontal | Flip image horizontally | |
image-flip-vertical | Flip image vertically | |
image-layer-from-selection | Create new layer from selection | |
image-redo | Redo | |
image-reset | Flatten layers and clear everything | |
image-rotate-180 | Rotate image 180 degrees | |
image-rotate-90 | Rotate image 90 degrees clockwise | |
image-rotate-90-ccw | Rotate image 90 degrees counter-clockwise | |
image-size | width:height | Resize image to given dimensions |
image-undo | Undo |
// Set canvas size to Full HD
cmd("image-canvas:1920:1080")