shithub: riscv

Download patch

ref: ef17e2a6938d1ae7a06a9a655e1a73d340e58abc
parent: 992ed21419554252672e46c04d0a75adf66f57bf
author: aiju <devnull@localhost>
date: Tue Mar 20 16:31:25 EDT 2018

resample(1): document -n option

--- a/sys/man/1/resample
+++ b/sys/man/1/resample
@@ -15,6 +15,9 @@
 .br
 .B resize
 [
+.B -n
+]
+[
 .B -x
 .I size
 ] [
@@ -33,6 +36,13 @@
 .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