| resample \- resample a picture |
| resamples its input image (default standard input) to a new size. |
| The image is decimated or interpolated using |
| The size of the resampled image can be specified |
| An unadorned value sets the number of pixels of that dimension; a suffixed percent sign specifies a percentage. |
| is given, the other dimension is scaled to preserve |
| the aspect ratio of the original image. |
| will reduce the image to half its original dimension in both |
| The input should be a Plan 9 image |
| and the output will be a compressed 24-bit |
| To uncompress the image or change the pixel format, use |
| .B \*9/src/cmd/resample.c |
| Faster algorithms exist, but this implementation produces correct pictures. |