3 resample, resize - resample a picture
30 resamples its input image (default standard input) to a new size.
32 uses a Kaiser window which produces high quality results and
34 uses bilinear interpolation which is faster but produces more
37 The size of the resampled image can be specified
43 An unadorned value sets the number of pixels of that dimension; a
44 suffixed percent sign specifies a percentage.
49 is given, the other dimension is scaled to preserve
50 the aspect ratio of the original image.
53 will reduce the image to half its original dimension in both
58 The input should be a Plan 9 image
61 and the output will be a compressed 24-bit
64 To uncompress the image or change the pixel format, use
70 .B /sys/src/cmd/resample.c
72 .B /sys/src/cmd/resize.c