summary refs log tree commit diff
path: root/bin/README
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2018-02-28 00:42:04 -0500
committerJune McEnroe <programble@gmail.com>2018-02-28 00:42:04 -0500
commit12be73a6c519d7608751d78ddb5c4b50663c6adb (patch)
treea510f7cd0358690ea1073cca21b04a3052af9ce3 /bin/README
parentClean up gfxx and add default palette (diff)
downloadsrc-12be73a6c519d7608751d78ddb5c4b50663c6adb.tar.gz
src-12be73a6c519d7608751d78ddb5c4b50663c6adb.zip
Add gfxx to README
Diffstat (limited to 'bin/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