clean_pixel_art
Merge tiny color patches into nearby colors within a tolerance and darken strong-edge shadows so noisy or pixelated art reads as drawn.
Instructions
Make pixelated or noisy art read as drawn: every patch of one colour
smaller than min_region pixels merges into the colour around it, if that
colour is close (tolerance, 0-1; standout specks like flowers stay), and
firm_edges darkens the shadow side of strong edges with the art's own
darker shade. No new colours. layer defaults to the active one; one
frame, or all_frames. One undo step. Headless: pass file.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "clean_pixel_art"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | ||
| frame | No | ||
| layer | No | ||
| tolerance | No | ||
| all_frames | No | ||
| firm_edges | No | ||
| min_region | No |