From ef17e2a6938d1ae7a06a9a655e1a73d340e58abc Mon Sep 17 00:00:00 2001 From: aiju Date: Tue, 20 Mar 2018 20:31:25 +0000 Subject: resample(1): document -n option --- sys/man/1/resample | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 -- cgit v1.2.3