summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraiju <devnull@localhost>2018-03-20 20:31:25 +0000
committeraiju <devnull@localhost>2018-03-20 20:31:25 +0000
commitef17e2a6938d1ae7a06a9a655e1a73d340e58abc (patch)
tree1ec566fbfe95778d02fc7011c4a2e73e57be38ea
parent992ed21419554252672e46c04d0a75adf66f57bf (diff)
resample(1): document -n option
-rw-r--r--sys/man/1/resample10
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/man/1/resample b/sys/man/1/resample
index 391f4a654..afd0b525a 100644
--- a/sys/man/1/resample
+++ b/sys/man/1/resample
@@ -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