-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathff-interleave.1
49 lines (49 loc) · 973 Bytes
/
ff-interleave.1
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
46
47
48
49
.Dd 2024-04-04
.Dt FF-INTERLEAVE 1
.Os farbfeld-utils
.Sh NAME
.Nm ff-interleave
.Nd program that interleaves two pictures
.Sh SYNOPSIS
.Nm
<image> <image> <?option?>
.Sh DESCRIPTION
.Nm
interleaves two
.Xr farbfeld 5
pictures and writes the result to stdout.
.Pp
No data is read from stdin, and both pictures must be of the same size.
.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 OPTIONS
The first two arguments are the files that should be interleaved.
.Pp
An optional third argument specifies the mode of interleaving:
w -- interleave individual channels
x -- interleave columns
y -- interleave scanlines (default)
.Sh EXAMPLES
$
.Nm
image1.ff image2.ff > image-interleaved.ff
.Pp
$
.Nm
image1.ff image2.ff w > image-interleaved.ff
.Pp
$
.Nm
image1.ff image2.ff x > image-interleaved.ff
.Sh SEE ALSO
.Xr farbfeld 5 ,
.Xr farbfeld-utils 7