ref: 58339beadd65d86a8454d39aa11e47de1a92f7a5
dir: /sys/man/1/rotate/
.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).