File: 2ff.1

package info (click to toggle)
farbfeld 4-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 196 kB
  • sloc: ansic: 622; sh: 65; makefile: 59
file content (45 lines) | stat: -rw-r--r-- 739 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
.Dd 2018-04-11
.Dt 2FF 1
.Os suckless.org
.Sh NAME
.Nm 2ff
.Nd convert image to farbfeld
.Sh SYNOPSIS
.Nm
.Sh DESCRIPTION
.Nm
reads an image from stdin, converts it to
.Xr farbfeld 5
and writes the result to stdout.
.Pp
.Nm
is a wrapper script around the farbfeld conversion tools
with a fallback to obtaining a PNG using
.Xr ImageMagick 1
and passing it through
.Xr png2ff 1 .
.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.* > image.ff
.Pp
$
.Nm
< image.* | bzip2 > image.ff.bz2
.Sh SEE ALSO
.Xr bzip2 1 ,
.Xr ImageMagick 1 ,
.Xr farbfeld 5
.Sh AUTHORS
.An Laslo Hunhold Aq Mt dev@frign.de