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 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 =1.3.0&id=e1ad15d368bdeb1bffea588b93a29055c5dfb7f4&follow=1'>root/filters/syntax-highlighting.py (unfollow)
Commit message (Expand)Author
2019-06-05tests: successfully validate rc versionsChristian Hesse
2019-06-05git: update to v2.21.0Christian Hesse
2019-06-05ui-ssdiff: ban strncat()Christian Hesse
2019-06-05global: make 'char *path' const where possibleChristian Hesse
2019-05-20ui-shared: restrict to 15 levelsJason A. Donenfeld
2019-02-23ui-diff,ui-tag: don't use htmlf with non-formatted stringsChris Mayo
2019-02-23ui-ssdiff: resolve HTML5 validation errorsChris Mayo
2019-01-03filters: migrate from luacrypto to luaosslJason A. Donenfeld
2019-01-02ui-shared: fix broken sizeof in title setting and rewriteJason A. Donenfeld
2018-12-09git: update to v2.20.0Christian Hesse
2018-11-25ui-blame: set repo for sbJason A. Donenfeld
2018-11-25auth-filter: pass url with query string attachedJason A. Donenfeld
2018-11-21git: use xz compressed archive for downloadChristian Hesse
2018-10-12git: update to v2.19.1Christian Hesse
2018-09-11ui-ssdiff: ban strcat()Christian Hesse
2018-09-11ui-ssdiff: ban strncpy()Christian Hesse
2018-09-11ui-shared: ban strcat()Christian Hesse
2018-09-11ui-patch: ban sprintf()Christian Hesse
2018-09-11ui-log: ban strncpy()Christian Hesse
2018-09-11ui-log: ban strcpy()Christian Hesse
2018-09-11parsing: ban sprintf()Christian Hesse
2018-09-11parsing: ban strncpy()Christian Hesse
2018-08-28filters: generate anchor links from markdownChristian Hesse
2018-08-03Bump version.Jason A. Donenfeld
2018-08-03clone: fix directory traversalJason A. Donenfeld
2018-08-03config: record repo.snapshot-prefix in the per-repo configKonstantin Ryabitsev