1Pnmalias User Manual(0)                                Pnmalias User Manual(0)
2
3
4

NAME

6       pnmalias - antialias a PNM image
7
8

SYNOPSIS

10       pnmalias
11
12       [-bgcolor color]
13
14       [-fgcolor color]
15
16       [-bonly]
17
18       [-fonly]
19
20       [-balias]
21
22       [-falias]
23
24       [-weight w]
25
26       [pnmfile]
27
28

DESCRIPTION

30       This program is part of Netpbm(1).
31
32       pnmalias reads a PNM image as input, and applies anti-aliasing to back‐
33       ground and foreground pixels.  If the input file  is  a  PBM,  pnmalias
34       promotes  the  output anti-aliased image to a PGM, and prints a message
35       informing the user of the change in format.
36
37

OPTIONS

39       In addition to the options common to all programs  based  on  libnetpbm
40       (most notably -quiet, see
41        Common  Options  ⟨index.html#commonoptions⟩ ), pnmalias recognizes the
42       following command line options:
43
44       -bgcolor colorb sets the background color the colorb.
45
46       -fgcolor colorf sets the foreground color to colorf.
47
48       Pixels with these values will be anti-aliased.   By  default,  pnmalias
49       takes  the  background  color  to  be black, and foreground color to be
50       white.
51
52       Specify the  color  (color)  as  described  for  the  argument  of  the
53       pnm_parsecolor() library routine ⟨libnetpbm_image.html#colorname⟩ .
54
55       Note that even when dealing with PGMs, background and foreground colors
56       need to be specified in the fashion described  above.   In  this  case,
57       pnmalias  takes  the  background  and foreground pixel values to be the
58       value of the red component for the specified color.
59
60       -bonly says to apply anti-aliasing only to the background pixels.
61
62       -fonly says to apply anti-aliasing only to the foreground pixels.
63
64       -balias says to apply anti-aliasing to  all  pixels  surrounding  back‐
65       ground pixels.
66
67       -falias  says  to  apply  anti-aliasing to all pixels surrounding fore‐
68       ground pixels.
69
70       If you specify neither -balias  nor  -falias,  pnmalias  applies  anti-
71       aliasing only among neighboring background and foreground pixels.
72
73       -weight  w says to use w as the central weight for the aliasing filter.
74       w must be a real number in the range 0 < w < 1.  The lower the value of
75       w is, the "blurrier" the output image is.  The default is w = 1/3.
76
77

SEE ALSO

79       pbmtext(1), pnmsmooth(1), pnm(1)
80
81

AUTHOR

83       Copyright  (C)  1992  by  Alberto  Accomazzi, Smithsonian Astrophysical
84       Observatory.
85

DOCUMENT SOURCE

87       This manual page was generated by the Netpbm tool 'makeman'  from  HTML
88       source.  The master documentation is at
89
90              http://netpbm.sourceforge.net/doc/pnmalias.html
91
92netpbm documentation             15 March 2004         Pnmalias User Manual(0)
Impressum