aboutsummaryrefslogtreecommitdiff
path: root/man/man1/crop.1
diff options
context:
space:
mode:
authorPetter Rodhelind <petter.rodhelind@gmail.com>2020-12-18 09:13:34 +0100
committerPetter Rodhelind <petter.rodhelind@gmail.com>2020-12-18 09:13:34 +0100
commit94c521bf102a74aec7e1a5c3a9ef5eaa968d4e14 (patch)
treead1ad80ee9a4e0ae97451c94a7cf455d3068951b /man/man1/crop.1
parent7cda34cf34f3afbd3f2000aa5e2b59ddc319f0f2 (diff)
parent2991442aef1cf020ffde43673433ee97ef322a53 (diff)
downloadplan9port-94c521bf102a74aec7e1a5c3a9ef5eaa968d4e14.tar.gz
plan9port-94c521bf102a74aec7e1a5c3a9ef5eaa968d4e14.tar.bz2
plan9port-94c521bf102a74aec7e1a5c3a9ef5eaa968d4e14.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'man/man1/crop.1')
-rw-r--r--man/man1/crop.112
1 files changed, 6 insertions, 6 deletions
diff --git a/man/man1/crop.1 b/man/man1/crop.1
index 1df8bf91..c47afac6 100644
--- a/man/man1/crop.1
+++ b/man/man1/crop.1
@@ -53,9 +53,9 @@ crop, iconv \- frame, crop, and convert image
.SH DESCRIPTION
.I Crop
reads an
-.IR image (7)
+.MR image (7)
file (default standard input), crops it, and writes it as a compressed
-.IR image (7)
+.MR image (7)
file to standard output.
There are two ways to specify a crop, by color value or by geometry.
They may be combined in a single run of
@@ -65,7 +65,7 @@ in which case the color value crop will be done first.
The
.B -c
option takes a red-green-blue triplet as described in
-.IR color (3).
+.MR color (3) .
(For example, white
is
.B 255
@@ -118,7 +118,7 @@ changes the format of pixels in the image
Pixels in the image are converted according to the channel descriptor
.IR chandesc ,
(see
-.IR image (7)).
+.MR image (7) ).
For example, to convert a 4-bit-per-pixel grey-scale image to an 8-bit-per-pixel
color-mapped image,
.I chandesc
@@ -139,8 +139,8 @@ crop -c 255 255 255 -i -10 -b 255 150 150 imagefile > cropped
.SH SOURCE
.B \*9/src/cmd/draw/crop.c
.SH SEE ALSO
-.IR image (7),
-.IR color (3)
+.MR image (7) ,
+.MR color (3)
.SH BUGS
.I Iconv
should be able to do Floyd-Steinberg error diffusion or dithering