Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
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  interpolated
       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  horizon-
       tal  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 sx_Asy 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)

NAME | SYNOPSIS | DESCRIPTION | SOURCE | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=resample&sektion=9&manpath=Plan+9>

home | help