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 config/nvim/init.vim?id=b601686560504716176845a1ee351bd41afd2fa7&follow=1'>init.vim (unfollow)
Commit message (Expand)Author
2017-09-15Simplify zsh promptsJune McEnroe
2017-09-15Move typo words to separate fileJune McEnroe
2017-09-15Use 4-space indent everywhereJune McEnroe
2017-09-15Rename zsh scripts .zshJune McEnroe
2017-09-15Rename files directory etcJune McEnroe
2017-09-15Remove Code Tarmak 2 layoutJune McEnroe
2017-09-14Draw line in typoJune McEnroe
2017-09-14Count 5 letters as a wordJune McEnroe
2017-09-14Add .gitignore target to bins MakefileJune McEnroe
2017-09-14Add typing gameJune McEnroe
2017-09-13Include sys/types.h in wake.cJune McEnroe
2017-09-06Move C file description commentsJune McEnroe
2017-09-06Fix bin/Makefile FreeBSD compatibilityJune McEnroe
2017-09-06Remove C code from link scriptJune McEnroe
2017-09-06Move C code to bin, Makefile, AGPLJune McEnroe
2017-09-05Pass final NULL to execlpJune McEnroe
2017-09-05Add watch.cJune McEnroe
2017-09-02Remove Scala highlightingJune McEnroe
2017-08-31Fix Linux console Tarmak 3June McEnroe
2017-08-31Use Tarmak 3 on Linux consoleJune McEnroe
2017-08-25Install ddateJune McEnroe
2017-08-19Move nethack options to envJune McEnroe
2017-08-17Remove scala syntax fileJune McEnroe
2017-08-06Add wakeJune McEnroe
2017-08-04Use $() in install.shJune McEnroe
2017-08-02Create Code Tarmak 3 layoutJune McEnroe
2017-07-31Add tupJune McEnroe
2017-07-31Use designated initializer for hnel tableJune McEnroe
2017-07-30Add juneJune McEnroe
2017-07-30Play nethack as ValkyrieJune McEnroe
2017-07-28Add toggle to hnelJune McEnroe
2017-07-28Install slJune McEnroe
2017-07-25Add up, supJune McEnroe
2017-07-24Autopickup ringsJune McEnroe
2017-07-24Name dogJune McEnroe
2017-07-23Add nethackrcJune McEnroe
2017-07-23Remove useless setuid in briJune McEnroe
2017-07-23Clean up hnel a tiny bitJune McEnroe
2017-07-21Set window size in hnelJune McEnroe
2017-07-21Add hnelJune McEnroe
2017-07-19chmod 600 in dtchJune McEnroe