allyhub inspect contrast
The text against the pixels behind its glyphs now, as WCAG contrast ratios (the check does not measure it)
allyhub inspect contrast [item] [options]Arguments
Section titled “Arguments”| Argument | Type | What it is |
|---|---|---|
<item> |
string | The piece: its id (its file without its extension) or its file; default the project’s only one |
Options
Section titled “Options”| Option | Type | Default | What it does |
|---|---|---|---|
--combo |
list of string | The first combo matching name=value pairs joined with commas (lang=zh-cn,hook=b), or a combo’s id (c03); default the first combo | |
--at |
list of string | At these moments: seconds (from –part’s start when given) or anchors (@press, @/map, @press+0.2) | |
--every |
number | Every this many seconds through the stretch (–part, or –from to –to, else all of it) | |
--part |
string | Only this part | |
--from |
number | From this second of the video | |
--to |
number | Up to this second of the video | |
--final |
boolean | false |
Over the final picture, footage composited (slower), not the check’s graphics |
--below |
number | Only texts whose lowest ratio is under this one, and those not measured (default every text) | |
--all |
boolean | false |
Every finding on a line of its own, and every block, however faint (without it, those at 90 % opacity or more) |
Global options
Section titled “Global options”--dir <value>: the project’s folder; default the one around where it is run. --json: print the result as JSON.
Examples
Section titled “Examples”allyhub inspect contrast launch/film --part hookallyhub inspect contrast launch/film --at 1.5 --finalallyhub inspect contrast launch/deck --below 4.5Exit codes
Section titled “Exit codes”0 when it succeeds; the others are listed in Exit codes.
In the work
Section titled “In the work”video: Making a video (one piece, or a batch of ads in combos)
check → frames → inspect → inspect layout → inspect timeline → inspect motion → inspect still → inspect contrast → inspect seams → inspect flash → inspect loop → inspect combos → audio → add search → add → dev → render
decks: Making a deck
slides capabilities → slides import → check → frames → frames compare → inspect layout → inspect contrast → dev → render
images: Making an image: boards of Photoshop’s layers, a PSD in and out
image import → check → frames → inspect layout → inspect contrast → dev → render