|
Packit |
78deda |
|
|
Packit |
78deda |
<HTML><HEAD><TITLE>Pnmalias User Manual</TITLE></HEAD>
|
|
Packit |
78deda |
<BODY>
|
|
Packit |
78deda |
pnmalias
|
|
Packit |
78deda |
Updated: 15 March 2004
|
|
Packit |
78deda |
|
|
Packit |
78deda |
Table Of Contents
|
|
Packit |
78deda |
|
|
Packit |
78deda |
NAME
|
|
Packit |
78deda |
|
|
Packit |
78deda |
pnmalias - antialias a PNM image
|
|
Packit |
78deda |
|
|
Packit |
78deda |
SYNOPSIS
|
|
Packit |
78deda |
|
|
Packit |
78deda |
pnmalias
|
|
Packit |
78deda |
|
|
Packit |
78deda |
[-bgcolor color]
|
|
Packit |
78deda |
|
|
Packit |
78deda |
[-fgcolor color]
|
|
Packit |
78deda |
|
|
Packit |
78deda |
[-bonly]
|
|
Packit |
78deda |
|
|
Packit |
78deda |
[-fonly]
|
|
Packit |
78deda |
|
|
Packit |
78deda |
[-balias]
|
|
Packit |
78deda |
|
|
Packit |
78deda |
[-falias]
|
|
Packit |
78deda |
|
|
Packit |
78deda |
[-weight w]
|
|
Packit |
78deda |
|
|
Packit |
78deda |
[pnmfile]
|
|
Packit |
78deda |
|
|
Packit |
78deda |
DESCRIPTION
|
|
Packit |
78deda |
|
|
Packit |
78deda |
This program is part of Netpbm.
|
|
Packit |
78deda |
|
|
Packit |
78deda |
pnmalias reads a PNM image as input, and applies
|
|
Packit |
78deda |
anti-aliasing to background and foreground pixels. If the input file
|
|
Packit |
78deda |
is a PBM, pnmalias promotes the output anti-aliased image to a
|
|
Packit |
78deda |
PGM, and prints a message informing the user of the change in format.
|
|
Packit |
78deda |
|
|
Packit |
78deda |
OPTIONS
|
|
Packit |
78deda |
|
|
Packit |
78deda |
-bgcolor colorb sets the background color the
|
|
Packit |
78deda |
colorb.
|
|
Packit |
78deda |
|
|
Packit |
78deda |
-fgcolor colorf sets the foreground color to
|
|
Packit |
78deda |
colorf.
|
|
Packit |
78deda |
|
|
Packit |
78deda |
Pixels with these values will be anti-aliased. By default,
|
|
Packit |
78deda |
pnmalias takes the background color to be black, and foreground
|
|
Packit |
78deda |
color to be white.
|
|
Packit |
78deda |
|
|
Packit |
78deda |
Specify the color (color) as described for the
|
|
Packit |
78deda |
href="libppm.html#colorname">argument of the ppm_parsecolor()
|
|
Packit |
78deda |
library routine.
|
|
Packit |
78deda |
|
|
Packit |
78deda |
Note that even when dealing with PGMs, background and foreground
|
|
Packit |
78deda |
colors need to be specified in the fashion described above. In this
|
|
Packit |
78deda |
case, pnmalias takes the background and foreground pixel values
|
|
Packit |
78deda |
to be the value of the red component for the specified color.
|
|
Packit |
78deda |
|
|
Packit |
78deda |
-bonly says to apply anti-aliasing only to the background pixels.
|
|
Packit |
78deda |
|
|
Packit |
78deda |
-fonly says to apply anti-aliasing only to the foreground pixels.
|
|
Packit |
78deda |
|
|
Packit |
78deda |
-balias says to apply anti-aliasing to all pixels surrounding
|
|
Packit |
78deda |
background pixels.
|
|
Packit |
78deda |
|
|
Packit |
78deda |
-falias says to apply anti-aliasing to all pixels surrounding
|
|
Packit |
78deda |
foreground pixels.
|
|
Packit |
78deda |
|
|
Packit |
78deda |
If you specify neither -balias nor -falias,
|
|
Packit |
78deda |
pnmalias applies anti-aliasing only among neighboring
|
|
Packit |
78deda |
background and foreground pixels.
|
|
Packit |
78deda |
|
|
Packit |
78deda |
-weight w says to use w as the central weight
|
|
Packit |
78deda |
for the aliasing filter. w must be a real number in the range
|
|
Packit |
78deda |
0 < w < 1. The lower the value of w is, the
|
|
Packit |
78deda |
"blurrier" the output image is. The default is w = 1/3.
|
|
Packit |
78deda |
|
|
Packit |
78deda |
SEE ALSO
|
|
Packit |
78deda |
|
|
Packit |
78deda |
pbmtext,
|
|
Packit |
78deda |
pnmsmooth,
|
|
Packit |
78deda |
pnm
|
|
Packit |
78deda |
|
|
Packit |
78deda |
AUTHOR
|
|
Packit |
78deda |
|
|
Packit |
78deda |
Copyright (C) 1992 by Alberto Accomazzi, Smithsonian Astrophysical Observatory.
|
|
Packit |
78deda |
|
|
Packit |
78deda |
|
|
Packit |
78deda |
Table Of Contents
|
|
Packit |
78deda |
|
|
Packit |
78deda |
SYNOPSIS
|
|
Packit |
78deda |
DESCRIPTION
|
|
Packit |
78deda |
OPTIONS
|
|
Packit |
78deda |
SEE ALSO
|
|
Packit |
78deda |
AUTHOR
|
|
Packit |
78deda |
|
|
Packit |
78deda |
</BODY>
|
|
Packit |
78deda |
</HTML>
|