resample(1): document -n option

This commit is contained in:
aiju 2018-03-20 20:31:25 +00:00
parent 992ed21419
commit ef17e2a693

View file

@ -15,6 +15,9 @@ resample, resize - resample a picture
.br
.B resize
[
.B -n
]
[
.B -x
.I size
] [
@ -33,6 +36,13 @@ uses a Kaiser window which produces high quality results and
.I resize
uses bilinear interpolation which is faster but produces more
fuzzy images.
By specifying the
.B -n
option,
.I resize
can also use nearest neighbour interpolation which preserves the individual pixels and is appropriate for pixel art or
.IR qr (1)
output.
.PP
The size of the resampled image can be specified
with the