resample
resampleResize astrophotography images by scale factor or to exact pixel dimensions, with optional checkpoint creation before processing.
Instructions
Resize by factor (integer downsample uses IntegerResample average) or to width×height. Checkpoints first.
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": {
"id": "<id>"
},
"name": "resample"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| width | No | ||
| factor | No | ||
| height | No | ||
| checkpoint | No | Write an .xisf checkpoint before running (default true) | |
| interpolation | No |