
vshrink(1)                   Khoros                    vshrink(1)

PROGRAM
     vshrink - Shrink an image by skipping pixels (subsampling)

SYNTAX
     vshrink

     -i             input image

     -o             output (shrunk image)

     [-s]           shrink scale factor

     [-V]           Gives the version for vshrink

     [-U]           Gives the usage for vshrink

     [-P]           Prompts for command line options

     [-A [file1]]   Creates the answer file called vshrink.ans or
                    file1

     [-a [file1]]   Uses vshrink.ans or file1 as the answer file

DESCRIPTION
     vshrink decreases the size of an image by skipping  to every
     s'th pixel where s is the scale argument. The resultant
     image will be 1/s the size of the original image.

     The scale factor must be a positive, non-zero number.

REQUIRED ARGUMENTS
     -i     type: infile
            desc: input image

     -o     type: outfile
            desc: output (shrunk image)

OPTIONAL ARGUMENTS
     -s     type: integer
            desc: shrink scale factor
            default: 2
            bounds: 2 < [-s] < 2000

EXAMPLES
     vshrink -i feath.xv -o feath.small.xv -s 16

     shrinks image "feath.xv" by a factor of 16.

SEE ALSO
     intro(1), verror(3), vgparms(3), vutils(3), lvshrink(3) vex-
     pand(1), vresize(1)

RESTRICTIONS
     vshrink does not work on COMPLEX data types.  vshrink does
     not work on explicit location data.

COPYRIGHT
     Copyright 1991, University of New Mexico.  All rights
     reserved.

Khoros                    Release: 1.0                          1

