summary refs log tree commit diff
path: root/bin/man1/gfxx.1
diff options
context:
space:
mode:
Diffstat (limited to 'bin/man1/gfxx.1')
-rw-r--r--bin/man1/gfxx.1138
1 files changed, 138 insertions, 0 deletions
diff --git a/bin/man1/gfxx.1 b/bin/man1/gfxx.1
new file mode 100644
index 00000000..d3d1edbd
--- /dev/null
+++ b/bin/man1/gfxx.1
@@ -0,0 +1,138 @@
+.Dd September 8, 2018
+.Dt GFXX 1
+.Os
+.
+.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
d>June McEnroe 2019-02-18Match sh functions as TagJune McEnroe 2019-02-18Match Sh and Ss as Tag in mdocJune McEnroe 2019-02-18Match statics and typedefs as TagJune McEnroe 2019-02-18Clean up htmlHeaderJune McEnroe 2019-02-18Remove hi line numberingJune McEnroe Tags are much better for referring to specific parts of a file and line numbering is better done by a post-processing tool such as cat -n or producing a two-column HTML <table>. 2019-02-18Add Tag class to hiJune McEnroe 2019-02-17Generate HTML with hi -n -f html -o anchorJune McEnroe Running hi twice to insert stuff between the head and the content is a bit of a hack but oh well. 2019-02-17Add hi -f html -o anchor for line number linksJune McEnroe 2019-02-17Simplify temp trap in upJune McEnroe 2019-02-17Add line numbers to hiJune McEnroe Renames previous -n option to -m to stay consistent with cat -n. Prefixing lines with line numbers affects where the first tab indent ends up relative to the text above it. Not sure if it's worth fixing somehow. 2019-02-17Always split spans after newlinesJune McEnroe Simplifies ANSI and IRC output code, and prepares for line numbered output. 2019-02-15Color format specifiers light cyan in vimJune McEnroe 2019-02-15Highlight Interp as yellowJune McEnroe 2019-02-15Highlight strings in sh command substitutionsJune McEnroe 2019-02-15Add nmap gpJune McEnroe 2019-02-14Avoid newline when copying URL to pasteboardJune McEnroe 2019-02-13Add forgotten "sixth" book of H2G2June McEnroe