summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-02-28 00:42:04 -0500
committerJune McEnroe <june@causal.agency>2018-02-28 00:42:04 -0500
commit3d5bb56a28f0c54c372d31a9a1c5b9f1f8ee780d (patch)
tree48474c4c006d818335b2854332d9f3ea914bd8a2
parentClean up gfxx and add default palette (diff)
downloadsrc-3d5bb56a28f0c54c372d31a9a1c5b9f1f8ee780d.tar.gz
src-3d5bb56a28f0c54c372d31a9a1c5b9f1f8ee780d.zip
Add gfxx to README
-rw-r--r--bin/README35
1 files changed, 34 insertions, 1 deletions
diff --git a/bin/README b/bin/README
index 3d6d1fc6..87f6633e 100644
--- a/bin/README
+++ b/bin/README
@@ -30,7 +30,40 @@ Clock panel for the Linux framebuffer. Renders PSF2 bitmap fonts.
 
                                   gfxx
 
-Work in progress.
+Graphics data explorer. Build with GFX={cocoa,fb,x11}. Dumps PNGs.
+
+    -c {indexed,grayscale,rgb}    set color space
+    -p PATH                       load palette
+    -e {l,b}                      set byte order
+    -E {l,b}                      set bit order
+    -b NNNN                       set pad, R, G, B bits
+    -n N                          set offset
+    -f                            flip
+    -m                            mirror
+    -w N                          set width
+    -z N                          set scale
+    -o PREFIX                     set output prefix
+
+    q      quit
+    x      dump one frame
+    X      dump each frame
+    o      print options
+    []     switch color spaces
+    p      sample palette
+    P      dump palette
+    {}     switch bits presets
+    e      swap byte order
+    E      swap bit order
+    hl     offset by byte
+    jk     offset by pixel
+    HL     offset by row
+    JK     offset by square
+    ,.     adjust width
+    <>     half/double width
+    f      flip
+    m      mirror
+    -+     zoom
+    0-9    set bits
 
                                   hnel