sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

commit 2524c01f69b7ec0c38d6267c5e24fdf640d44ab5
parent 5973dd17c7fdd85c250f18ea1b640d04ff8f21f3
Author: FRIGN <dev@frign.de>
Date:   Tue, 12 Jan 2016 23:07:30 +0100

Refine markdown on farbfeld-page

Diffstat:
Mtools.suckless.org/farbfeld/index.md | 11+++++------
1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/tools.suckless.org/farbfeld/index.md b/tools.suckless.org/farbfeld/index.md @@ -19,26 +19,25 @@ Examples Convert image.png to a farbfeld, run it through a filter and write the result to image-filtered.png: - $ png2ff < image.png | filter | ff2png > image-filtered.png + $ png2ff < image.png | filter | ff2png > image-filtered.png [invert.c](invert.c) is an example for such a filter which inverts the colors. Notice that there are no dependencies on external libraries. -A hypothetical farbfeld-library would hardly exceed the size of -the given filter example. +A hypothetical farbfeld-library would hardly exceed invert.c's size. Store image.png as a compressed farbfeld: - $ png2ff < image.png | bzip2 > image.ff.bz2 + $ png2ff < image.png | bzip2 > image.ff.bz2 Access a compressed farbfeld as a png: - $ bunzip2 < image.ff.bz2 | ff2png {> image.png, | feh -, ...} + $ bunzip2 < image.ff.bz2 | ff2png {> image.png, | feh -, ...} Handle arbitrary image data using 2ff(1), which falls back to imagemagick's convert(1) for unknown image types: - $ 2ff < image | filter | ff2png > image-filtered.png + $ 2ff < image | filter | ff2png > image-filtered.png Refer to the manpages for more information. farbfeld(5) is a good start.