imscale.1 1.1 KB
.TH imscale 1P local "Silicon Graphics, Inc."
.SH NAME 
imscale \- Image scaling utility
.SH SYNOPSIS 
\f3imscale\f1 -i input.rgb -o output.rgb -x xscale -y yscale
.br
.SH DESCRIPTION
.I imscale\^
is a utility which reads in an rgb format image and scales it by arbitrary
X and Y floating point scaling values to stretch or shrink the image to a
desired size. This utility is useful for constructing properly filtered
textures used in MIP mapping.
.PP
Command line options are:
.RS 5
.TP 12
.B \-i input.rgb
Specifies the name of the input image file which is to be manipulated
.TP
.B \-o output.rgb
Specifies the name of the resultant output image file
.TP
.B \-x xscale
Specifies the floating point scaling factor to be applied to the image's
X dimension. A value of 1.0 will leave the image unchanged in the X dimension
.TP
.B \-y yscale
Specifies the floating point scaling factor to be applied to the image's
Y dimension. A value of 1.0 will leave the image unchanged in the Y dimension
.SH NOTE
The filter kernel used is a windowed Lanczos kernel, which gives a reasonable
approximation to the ideal sinc kernel.
.PP