summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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