Documentation
¶
Overview ¶
Command gen regenerates the reduced cover artwork in assets/ from a full-resolution source. The shipped asset is deliberately small — the cover is only ever projected into character cells, so detail beyond about twice the densest cell grid is bytes the binary carries for nothing — and this command is how that reduction is reproduced rather than being a mystery blob:
go run ./assets/gen -in /path/to/poster.png -out assets/cover.png
The output format follows the output extension: .png for flat poster art, where JPEG would smear the hard edges, .jpg for photographs. The reduction is an area average in linear light, the same filtering the renderer itself uses, so the shipped asset looks the way the renderer assumes its input looks.
Click to show internal directories.
Click to hide internal directories.