gimp_resize_canvas
Resize a GIMP image canvas without scaling its content, optionally filling the new space with a color and choosing an anchor point.
Instructions
Cambia el tamaño del lienzo sin escalar el contenido. fill: color para rellenar el espacio nuevo (si no, queda transparente).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"width": "<width>",
"height": "<height>"
},
"name": "gimp_resize_canvas"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fill | No | ||
| width | Yes | ||
| anchor | No | center | |
| height | Yes | ||
| image_id | No |