ff2ppm.1 - farbfeld - suckless image format with conversion tools
(HTM) git clone git://git.suckless.org/farbfeld
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
ff2ppm.1 (800B)
---
1 .Dd 2018-04-11
2 .Dt FF2PPM 1
3 .Os suckless.org
4 .Sh NAME
5 .Nm ff2ppm
6 .Nd convert farbfeld to PPM
7 .Sh SYNOPSIS
8 .Nm
9 .Op Fl b Ar colour
10 .Sh DESCRIPTION
11 .Nm
12 reads a
13 .Xr farbfeld 5
14 image from stdin, converts it to PPM (16-Bit RGB P6 binary format) and
15 writes the result to stdout.
16 .Pp
17 In case of an error
18 .Nm
19 writes a diagnostic message to stderr.
20 .Sh OPTIONS
21 .Bl -tag -width Ds
22 .It Fl b Ar colour
23 Blend the transparent colours with
24 .Ar colour
25 specified as rgb, rrggbb or rrrrggggbbbb. The default is fff.
26 .El
27 .Sh EXIT STATUS
28 .Bl -tag -width Ds
29 .It 0
30 Image processed successfully.
31 .It 1
32 An error occurred.
33 .El
34 .Sh EXAMPLES
35 $
36 .Nm
37 < image.ff > image.ppm
38 .Pp
39 $ bunzip2 < image.ff.bz2 |
40 .Nm
41 -b 0f0 > image.ppm
42 .Sh SEE ALSO
43 .Xr bzip2 1 ,
44 .Xr farbfeld 5
45 .Sh AUTHORS
46 .An Hiltjo Posthuma Aq Mt hiltjo@codemadness.org