GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
SMUSH(1) FreeBSD General Commands Manual SMUSH(1)

smush - defocus an RLE image.

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

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.

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

Rod G. Bogart

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

March 15, 1987 4th Berkeley Distribution

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.