From 6d57c0f6f975966f258ff9462f7b207599d8b320 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Sat, 8 Sep 2018 01:10:58 -0400 Subject: Add gfxx.1 --- gfx/gfxx.1 | 103 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 103 insertions(+) create mode 100644 gfx/gfxx.1 (limited to 'gfx') diff --git a/gfx/gfxx.1 b/gfx/gfxx.1 new file mode 100644 index 00000000..745ba554 --- /dev/null +++ b/gfx/gfxx.1 @@ -0,0 +1,103 @@ +.Dd $Mdocdate$ +.Dt GFXX 1 +.Os "Causal Agency" +.Sh NAME +.Nm gfxx +.Nd graphics data explorer +.Sh SYNOPSIS +.Nm +.Op Fl fm +.Op Fl c Ar space +.Op Fl p Ar file +.Op Fl e Ar lb +.Op Fl E Ar lb +.Op Fl b Ar bits +.Op Fl n Ar offset +.Op Fl w Ar width +.Op Fl z Ar scale +.Op Fl o Ar prefix +.Sh DESCRIPTION +.Nm +is an interactive graphics data explorer +capable of dumping PNGs. +.Pp +The arguments are as follows: +.Bl -tag -width Ds +.It Fl E Ar lb +Set bit order to little or big endian. +.It Fl b Ar bits +Set number of bits of padding, +red, +green +and blue +components. +Four digits are required. +.It Fl c Ar space +Set color space to one of +.Cm indexed , +.Cm grayscale , +.Cm rgb . +.It Fl e Ar lb +Set byte order to little or big endian. +.It Fl f +Flip display vertically. +.It Fl m +Mirror display horizontally. +.It Fl n Ar offset +Set byte offset into data. +.It Fl o Ar prefix +Set PNG output filename prefix. +.It Fl p Ar file +Load indexed color palette from +.Ar file . +.It Fl w Ar width +Set display column width. +.It Fl z Ar scale +Set display scale. +.El +.Pp +The interactive keys are as follows: +.Bl -tag -width Ds +.It Ic q +Quit. +.It Ic x +Export one frame as PNG. +.It Ic X +Export each frame as PNG. +.It Ic o +Print interactive options. +.It Ic [] +Select color space. +.It Ic p +Sample indexed palette from top-left corner. +.It Ic P +Export indexed palette as RGB data. +.It Ic {} +Select bits preset. +.It Ic e +Toggle byte order. +.It Ic E +Toggle bit order. +.It Ic hl +Adjust offset by byte. +.It Ic jk +Adjust offset by pixel. +.It Ic HL +Adjust offset by pixel row. +.It Ic JK +Adjust offset by pixel row square. +.It Ic ,. +Adjust display column width. +.It Ic <> +Adjust display column width by half or double. +.It Ic f +Toggle vertically flipped display. +.It Ic m +Toggle horizontally mirrored display. +.It Ic -+ +Adjust display scale. +.It Ic 0-9 +Set bits. +.El +.Sh SEE ALSO +.Xr pngo 1 -- cgit 1.4.1 29694955cc82ce77e27e09fb0e7eec2&follow=1'>Collapse)Author 2021-01-13Add hilex example to htagml manualJune McEnroe 2021-01-12Style causal.agency like bin HTMLJune McEnroe 2021-01-12Avoid matching tag text inside HTML elementsJune McEnroe 2021-01-12Use hilex for up -hJune McEnroe 2021-01-12Use hilex for bin HTMLJune McEnroe 2021-01-12Don't output a pre in hilex by defaultJune McEnroe 2021-01-12Move hilex out of hilex directoryJune McEnroe 2021-01-12Consolidate hilex formatters into hilex.cJune McEnroe 2021-01-12Remove hacky tagging from hilexJune McEnroe God that makes the lexers so much simpler. 2021-01-12Add htagml -iJune McEnroe 2021-01-12Render tag index in HTMLJune McEnroe 2021-01-12Add htagml -xJune McEnroe 2021-01-12Prevent matching the same tag twiceJune McEnroe 2021-01-12Process htagml file line by lineJune McEnroe This simplifies some things, adds support for line number tag definitions, and should enable combining htagml with other preprocessors in the future. 2021-01-12Split fields by tab onlyJune McEnroe Also don't fail hard on non-forward-search definitions. 2021-01-12List both Makefile and html.sh under README.7June McEnroe 2021-01-12Add htagml exampleJune McEnroe 2021-01-12Use mandoc and htagml for bin htmlJune McEnroe 2021-01-12Add htagmlJune McEnroe 2021-01-12Replace causal.agency with a simple mdoc pageJune McEnroe 2021-01-11Publish "Using vi"June McEnroe 2021-01-11Enable diff.colorMovedJune McEnroe 2021-01-10Set less search case-insensitiveJune McEnroe 2021-01-10Set EXINITJune McEnroe neovim is laggy as hell in my OpenBSD VM, so I switched to vi so I could type without getting frustrated. 2021-01-09Add c -t flag to print expression typeJune McEnroe Also add missing float case. 2021-01-05Update taglineJune McEnroe