1 4c55bb28 2006-03-20 devnull .TH RESAMPLE 1
3 4c55bb28 2006-03-20 devnull resample \- resample a picture
4 4c55bb28 2006-03-20 devnull .SH SYNOPSIS
5 4c55bb28 2006-03-20 devnull .B resample
15 4c55bb28 2006-03-20 devnull .SH DESCRIPTION
16 4c55bb28 2006-03-20 devnull .I Resample
17 4c55bb28 2006-03-20 devnull resamples its input image (default standard input) to a new size.
18 4c55bb28 2006-03-20 devnull The image is decimated or interpolated using
19 4c55bb28 2006-03-20 devnull a Kaiser window.
21 4c55bb28 2006-03-20 devnull The size of the resampled image can be specified
27 4c55bb28 2006-03-20 devnull An unadorned value sets the number of pixels of that dimension; a suffixed percent sign specifies a percentage.
28 4c55bb28 2006-03-20 devnull If only one of
32 4c55bb28 2006-03-20 devnull is given, the other dimension is scaled to preserve
33 4c55bb28 2006-03-20 devnull the aspect ratio of the original image.
36 4c55bb28 2006-03-20 devnull will reduce the image to half its original dimension in both
41 4c55bb28 2006-03-20 devnull The input should be a Plan 9 image
42 4c55bb28 2006-03-20 devnull as described in
43 4c55bb28 2006-03-20 devnull .IR image (6),
44 4c55bb28 2006-03-20 devnull and the output will be a compressed 24-bit
45 4c55bb28 2006-03-20 devnull .B r8g8b8
47 4c55bb28 2006-03-20 devnull To uncompress the image or change the pixel format, use
50 4c55bb28 2006-03-20 devnull .IR crop (1)).
52 4c55bb28 2006-03-20 devnull .SH SOURCE
53 4c55bb28 2006-03-20 devnull .B \*9/src/cmd/resample.c
54 4c55bb28 2006-03-20 devnull .SH "SEE ALSO
55 4c55bb28 2006-03-20 devnull .IR crop (1),
56 4c55bb28 2006-03-20 devnull .IR image (6)
58 4c55bb28 2006-03-20 devnull Faster algorithms exist, but this implementation produces correct pictures.