avg4 man page on DigitalUNIX

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
DigitalUNIX logo
[printable version]

AVG4(1)								       AVG4(1)

       avg4 - Downfilter an image by simple averaging.

       avg4 [ -o outfile ] [ infile ]

       Avg4 downfilters an RLE image into a resulting image of 1/4th the size,
       by simply averaging four pixel values in the input image to  produce  a
       single  pixel in the output.  If the original image does not contain an
       alpha channel, avg4 creates one by counting the number of non-zero pix‐
       els in each group of four input pixels and using the count to produce a
       coverage value.	While the alpha channel produced  this	way  is	 crude
       (only  four  levels  of	coverage)  it  is  enough to make a noticeable
       improvement in the edges of composited images.

       infile The input will be read from this file, otherwise, input will  be
	      taken from stdin.

       -o outfile
	      If  specified, output will be written to this file, otherwise it
	      will go to stdout.

       fant(1), rlecomp(1), smush(1), urt(1), RLE(5).

       Rod Bogart, John W. Peterson

       Very simple minded - more elaborate filters could be implemented.

4th Berkeley Distribution	 Nov 12, 1986			       AVG4(1)

List of man pages available for DigitalUNIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net