Table of Contents

Name

smush - defocus an RLE image.

Synopsis

smush [ -m maskfile ] [ -n ] [ -o outfile ] [ levels ] [ infile ]

Description

Smush convolves an image with a 5x5 Gaussian mask, blurring the image. One may also provide a mask in a text file. The file must contain an integer to specify the size of the square mask, followed by size*size floats. The mask will be normalized (forced to sum to 1.0) unless the -n flag is given.

The resulting image is the same size as the input image, no sub-sampling takes place. The levels option, which defaults to one, signifies the number of times which the image will be blurred. Each successive blurring is done with a more spread out mask, so a smush of level 2 is blurrier than piping two level one smush calls. If no input file is specified, smush reads from stdin. If no output file is specified with -o it writes the result to stdout.

See Also

avg4(1) , urt(1) , RLE(5) .

Author

Rod G. Bogart

Bugs

Smush should probably automatically generate different sized gaussians and other common filters.


Table of Contents