summaryrefslogtreecommitdiff
path: root/utils/nsxiv/icon/README.md
diff options
context:
space:
mode:
authorstkhan <personal@slickd.xyz>2023-03-27 20:57:44 -0500
committerstkhan <personal@slickd.xyz>2023-03-27 20:57:44 -0500
commite58dcfbcd127e00bec22141387037bc58ce8bec8 (patch)
tree4adc1f6694654b9fe83fa49c18b38dcef9f02e7d /utils/nsxiv/icon/README.md
parenta327f64412c10b04832fa5ba7c34cf494e291c19 (diff)
Diffstat (limited to 'utils/nsxiv/icon/README.md')
-rw-r--r--utils/nsxiv/icon/README.md43
1 files changed, 0 insertions, 43 deletions
diff --git a/utils/nsxiv/icon/README.md b/utils/nsxiv/icon/README.md
deleted file mode 100644
index 3ddd7f8..0000000
--- a/utils/nsxiv/icon/README.md
+++ /dev/null
@@ -1,43 +0,0 @@
-img2data
---------
-
-img2data is a helper program to convert images to binary data for embedding in
-software. The generated data is used in nsxiv to set the window icons.
-
-
-How It Works
-------------
-
-Each given image is compressed using run-length encoding and a data array is
-generated. In these arrays, the four high bits of each byte are the run length
-minus one and the lowest four bits are the data, which are indices for the
-color array.
-
-See `data.gen.h` or the output of img2data for a better understanding.
-
-
-Dependencies
-------------
-
-img2data requires Imlib2 to be installed.
-
-
-Building
---------
-
-img2data is built using the command:
-
- $ CC -Wall -std=c89 -pedantic -lImlib2 img2data.c -o img2data
-
-where `CC` is a C compiler such as `gcc`.
-
-
-Usage
------
-
-img2data is used as the following:
-
- $ ./img2data 16x16.png 32x32.png 48x48.png 64x64.png 128x128.png
-
-You may replace or omit any image, but you must have a `data.gen.h` with at
-least 1 image for nsxiv to compile.