Paint: Stamp an image
paint_stampPlaces an image or canvas onto a specified layer, supporting scale, rotation, opacity, blend modes, crop regions, and tiling for compositing.
Instructions
Places another canvas or an image file onto this layer. source is a canvas name or a path under the paint root (png/jpg/bmp). Supports scale, rotate, opacity, blend, region crop and tile.
Target the canvas by name (created with paint_canvas) and optionally a layer index. Layers, filters and undo work the same for every drawing tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| tile | No | ||
| blend | No | Blend mode for this stroke | normal |
| layer | No | Target layer index; defaults to the active layer (see paint_canvas). | |
| scale | No | ||
| canvas | Yes | Canvas name. Letters, digits, space, dot, dash, plus; the .png/.paint suffix may be included or omitted. | |
| region | No | Crop rectangle inside the source | |
| rotate | No | ||
| source | Yes | Canvas name or image file path | |
| opacity | No | 0..1 strength of this stroke | |
| preview | No | Image reply: auto/thumb = downscaled picture back into the result, full = unpixelated, none = text only | |
| preview_size | No | Longest edge of the returned thumbnail |