Paint: read pixels
paint_inspectQuery canvas pixels for exact colors at points, painted-pixel counts, bounding boxes, and dominant-color histograms in a region, without rendering a preview.
Instructions
Ask exact questions about the picture: colour at points, statistics and bounding box of painted pixels, or a colour histogram of a region. Cheaper than a thumbnail when you only need numbers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | How many dominant colours to report | |
| layer | No | Inspect one layer instead of the flattened canvas | |
| canvas | Yes | Canvas name. Letters, digits, space, dot, dash, plus; the .png/.paint suffix may be included or omitted. | |
| points | No | [x,y] pairs to read the colour of | |
| region | No | Crop the reply to this rectangle |