clean_lines
Turns rough sketched strokes into clean pixel-art lines by thinning them to one pixel and removing doubled corner pixels, optionally clearing isolated specks while preserving colors.
Instructions
Turn rough sketched strokes into clean pixel-art lines: thin brings
thick strokes down to one pixel, and the doubled corner pixels freehand lines
leave are removed, as Aseprite's pixel-perfect brush would have drawn them.
specks also clears pixels with no neighbour. Kept pixels keep their
colour. Use it on a line-art layer over transparency (layer, the active
one by default); 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_lines"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | ||
| thin | No | ||
| frame | No | ||
| layer | No | ||
| specks | No | ||
| all_frames | No |