Reference · Checking
pxart stats
Size, bounding box and colors of frames, a variant's rendered colors (--colors), or one pixel's key and color in every variant (--at x,y).
stats FILE|DIR... [--colors] [--at x,y] [--exclude GLOB] [--variant V]
usage: pxart stats [-h] [--variant V] [--colors] [--at x,y] [--exclude GLOB] files [files ...]
stats FILE|DIR... [--colors] [--at x,y] [--exclude GLOB] [--variant V]
Size, bounding box and colors of frames, a variant's rendered colors (--colors), or one
pixel's key and color in every variant (--at x,y).
positional arguments:
files
options:
-h, --help show this help message and exit
--variant V render every frame in V (a FILE's own %V wins): its bbox and colors
--colors each frame's rendered colors, pixel counts and keys
--at x,y the pixel's key and its color in the base palette and every variant (repeatable)
--exclude GLOB leave out files whose name or path under DIR matches GLOB, or under a matching directory (repeatable)
Size, bbox ('x 1..22, y 0..20': ends included), colors (a directory, palette files and
--exclude as for sheet).
FILE:SEL%VARIANT reads the colors a variant renders (--variant V: every FILE's): 'stats
hero.px:idle/0%night'. --colors lists each frame's rendered colors, most pixels first,
each with its pixel count and the keys that draw it ('#120e22 40 px (k)'). --at x,y
(repeatable) prints that pixel's key and its color in the base palette and in every
variant ('at 3,4: key k; base #3f2631, night #120e22'), or only in the one named.
See also, in pxart help all: FORMAT: variants (@variant, %VARIANT); FORMAT: selecting frames
(FILE:SEL, an unnamed grid's name, zsh's "${F}:sel").
pxart help all has the whole reference, pxart help TOPIC one part of it.This is the output of pxart help stats. The other checking commands and their shared notes are in pxart help CHECKING.
This page is built from
site/src/data/reference.json in the repository.Edit on GitHub