Ase Compare Frames
ase_compare_framesCompare two frames of a sprite to get the changed pixel count, percentage, and bounding box of the region that differs. Use during animation to confirm that a frame changed or remained consistent.
Instructions
Diff two frames of the flattened sprite: changed pixel count, percent, and the bounding box of the changed region. Use while animating to confirm a frame actually changed (or did not change too much).
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": {
"sprite_path": "<sprite_path>",
"frame_a": "<frame_a>",
"frame_b": "<frame_b>"
},
"name": "ase_compare_frames"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frame_a | Yes | ||
| frame_b | Yes | ||
| sprite_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||