vexpand(1)

PROGRAM
vexpand - Expand an image by pixel replication

SYNTAX

vexpand

-i  input image

-o  resulting expanded image

[-s]
    expansion scale factor

[-V]
    Gives the version for vexpand

[-U]
    Gives the usage for vexpand

[-P]
    Prompts for command line options

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

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

DESCRIPTION
vexpand expands the size of an image by an integer factor by replicating pixels in blocks.

A cute "high-tech" image can be made by first vshrink(1)'ing an image severely and then vexpand(1)'ing it back by the same scale factor. This give the classic "cubist" picture.

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

For a more control in resizing images, look at vresize(1).

REQUIRED ARGUMENTS

-i  type: infile
    desc: input image

-o  type: outfile
    desc: resulting expanded image

OPTIONAL ARGUMENTS

-s  type: integer
    desc: expansion scale factor
    default: 2
    bounds: value > 0

EXAMPLES
vshrink -i feath.xv -o - -s 8| vexpand -i - -o cubist.xv -s 8

produces a modern looking cubist rendition of the pretty girl.

SEE ALSO
intro(1), verror(3), vgparms(3), vutils(3), lvexpand(3) vshrink(1), vresize(1)

RESTRICTIONS
vexpand does not work on BIT or COMPLEX data types. vexpand does not work on explicit location data.

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