vizcom_make_region_mask
Create a PNG region mask from normalized rectangle coordinates on a source PNG, using white for selected areas and black for protected areas. No image generation involved.
Instructions
Create a PNG selection mask matching a source PNG. Rectangle coordinates are normalized 0–1, white selected / black protected. No generation.
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": {
"file": "<file>",
"rectangles": "<rectangles>"
},
"name": "vizcom_make_region_mask"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| rectangles | Yes |