git: 9front

Download patch

ref: 8450cff6f435775719b1bf7547d0b16e84d01711
parent: 3ede01973f45ab1110aae224efc8f47ff6fbf6aa
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
--