Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

resample(9) [plan9 man page]

RESAMPLE(9.1)															     RESAMPLE(9.1)

NAME
resample, pdup - resample a picture SYNOPSIS
fb/resample width [ input ] [ B C ] fb/pdup sx sy [ input ] DESCRIPTION
Resample resamples the scan lines of its input image (default standard input) to the given new width. The image is decimated or interpo- lated using a well-designed cubic filter. See transpose(9.1) for assistance with vertical resampling. The reference explains the optional filter parameters B and C. The default values give optimal alias rejection, and should not normally be tampered with. Pdup scales an image by pixel duplication. Sx and sy are the horizontal and vertical scale factors. They must be positive integers. In the output image (written on standard output), each pixel of the input image (default standard input) generates an sxxsy block of identical pixels. SOURCE
/sys/src/fb/resample.c /sys/src/fb/pdup.c SEE ALSO
picfile(9.6), Don P. Mitchell and Arun Netravali, ``Reconstruction in Computer Graphics'', SIGGRAPH '88 Conference Proceedings. RESAMPLE(9.1)

Check Out this Related Man Page

PIC2PS(9.1)															       PIC2PS(9.1)

NAME
pic2ps, pic2gif - convert picture files to other formats SYNOPSIS
fb/pic2ps [ -c ] [ -h height ] [ input ] fb/pic2gif [ -i ] [ -l ] [ -b depth ] [ input ] DESCRIPTION
Pic2ps converts its input image (default standard input) into encapsulated PostScript, writing the result to standard output. If the input image is full-color, its luminance is computed first, except under option -c, which produces output suitable for a color PostScript printer. Option -h sets the output image height in inches. The default height is 3", to match the default height of the .BP macro in troff -mpictures. Pic2gif converts its input image (default standard input) into a Compuserv GIF format file, writing the result to standard output. It con- verts only the first channel of the input image, which may yield wrong results -- use the -l flag or quantize(9.1) or some other dithering filter to reduce color images to a single channel. Option -i produces an interlaced output file. Option -b sets the number of bits per pixel in the output file. The default is 8, which is the maximum. Option -l makes pic2gif compute the NTSC luminance of its input. If pic2gif's input contains no color map, it assumes that it is a 256 grey shade monochrome image. SOURCE
/sys/src/fb/pic2ps.c /sys/src/fb/pic2gif.c SEE ALSO
mpictures(6), picfile(9.6), quantize(9.1), PIC2PS(9.1)
Man Page