summaryrefslogtreecommitdiff
path: root/sys/man/1/rotate
blob: 2c7771fdfa88936b0e5ae555b6337990ef689ec4 (plain)
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
.TH ROTATE 1
.SH NAME
rotate - rotate or mirror a picture
.SH SYNOPSIS
.B rotate
[
.B -r
.I degree
] [
.B -u |
.B -l
] [
.I file
]
.SH DESCRIPTION
.I Rotate
reads its input image (default from standard input), applies the rotation
or mirroring and outputs the transformed image in compressed
plan9 bitmap format.
.PP
The option
.B -r
rotates the image clockwise in 90 degree steps by the
.I degree
argument.
The options
.B -u
and
.B -l
mirror the image upside/down or left/right.
.SH SOURCE
.B /sys/src/cmd/rotate.c
.SH "SEE ALSO
.IR crop (1),
.IR resample (1),
.IR image (6)
.SH HISTORY
.I Rotate
first appeared in 9front (September, 2011).