.TH "pfssize" 1 .SH NAME pfssize \- Resize frames .SH SYNOPSIS .B pfssize [--x ] [--y ] [--ratio ] [--maxx ] [--maxy ] [--minx ] [--miny ] [--filter ] .SH DESCRIPTION Resize all frames and all channels in the stream. Note that resampling is done on each channel as it is - for color images resampling is usually done in linear (not gamma corrected) XYZ color space. .SH OPTIONS .TP --x , -x New x resolution in pixels. .TP --y , -y New y resolution in pixels. .TP --ratio , -r Resize both width and height using the given ratio. Ratio equal 1 is the original size, lower than 1 makes the frames smaller and greater than 1, enlarges the frames. .TP --minx , --miny Make sure that the resulting image has at least width and/or height. Cannot be used in combination with -x, -y and --ratio. .TP --maxx , --maxy Make sure that the resulting image has at most width and/or height. Cannot be used in combination with -x, -y and --ratio. .TP --filter , -f Use filter for upsampling (on downsampling, box filter is always used). Available filters: .B BOX Box filter. This is the fastest filter, but it also causes visible aliasing artifacts. .B LINEAR (default) Bi-linear filter. .B MITCHELL Mitchell filter. From \fIMitchell and Netravali, Reconstruction Filters in Computer Graphics,In Computer Graphics, vol. 22 (4) 1988\fR. Since the filter contains negative parts, it may cause halo artifacts and it may result in negative values for HDR images. .SH EXAMPLES .TP pfsin memorial.hdr | pfssize -r 0.25 | pfsout memorial_small.hdr Lower the resolution of memorial.hdr four times. .SH "SEE ALSO" .BR pfsin (1) .BR pfsout (1) .SH BUGS Please report bugs and comments to Rafal Mantiuk .