summaryrefslogtreecommitdiff
path: root/jpg2ff.1
diff options
context:
space:
mode:
authorFRIGN <dev@frign.de>2016-01-05 16:38:12 +0100
committerFRIGN <dev@frign.de>2016-01-05 16:38:12 +0100
commit24c4b045fc495becc9ba4239ba3d2963851c7634 (patch)
tree1579a11c9e144c929027e0a49a6f775ccffa1407 /jpg2ff.1
parentba154494ae239b9a79fc0947cad497e983c80653 (diff)
Add tool manpages and set up the Makefile to install the manuals
While at it, refactor the makefile a bit.
Diffstat (limited to 'jpg2ff.1')
-rw-r--r--jpg2ff.141
1 files changed, 41 insertions, 0 deletions
diff --git a/jpg2ff.1 b/jpg2ff.1
new file mode 100644
index 0000000..0e99062
--- /dev/null
+++ b/jpg2ff.1
@@ -0,0 +1,41 @@
+.Dd 2016-01-05
+.Dt JPG2FF 1
+.Os suckless.org
+.Sh NAME
+.Nm jpg2ff
+.Nd convert JPG to farbfeld
+.Sh SYNOPSIS
+.Nm
+.Sh DESCRIPTION
+.Nm
+reads a JPG image from stdin, converts it to
+.Xr farbfeld 5
+and writes the result to stdout.
+.Pp
+In case of an error
+.Nm
+writes a diagnostic message to stderr.
+.Sh EXIT STATUS
+.Bl -tag -width Ds
+.It 0
+Image processed successfully.
+.It 1
+An error occurred.
+.El
+.Sh EXAMPLES
+$
+.Nm
+< image.jpg > image.ff
+.Pp
+$
+.Nm
+< image.jpg | bzip2 > image.ff.bz2
+.Sh SEE ALSO
+.Xr 2ff 1 ,
+.Xr bunzip2 1 ,
+.Xr bzip2 1 ,
+.Xr ff2png 1 ,
+.Xr png2ff 1 ,
+.Xr farbfeld 5
+.Sh AUTHORS
+.An Laslo Hunhold Aq Mt dev@frign.de