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

SEE ALSO

74       pbmtext(1), pnmsmooth(1), pnm(1)
75
76

AUTHOR

78       Copyright  (C)  1992  by  Alberto  Accomazzi, Smithsonian Astrophysical
79       Observatory.
80

DOCUMENT SOURCE

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