×
UNIX.COM Login
Username:
Password:  
Show Password






👤


CentOS 7.0 - man page for pnmalias (centos section 0)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:
man
Select Man Page Set:
apropos Keyword Search (sections above)


Pnmalias User Manual(0) 						  Pnmalias User Manual(0)

NAME
       pnmalias - antialias a PNM image

SYNOPSIS
       pnmalias

       [-bgcolor color]

       [-fgcolor color]

       [-bonly]

       [-fonly]

       [-balias]

       [-falias]

       [-weight w]

       [pnmfile]

DESCRIPTION
       This program is part of Netpbm(1)

       pnmalias  reads	a  PNM	image as input, and applies anti-aliasing to background and fore-
       ground pixels.  If the input file is a PBM,  pnmalias  promotes	the  output  anti-aliased
       image to a PGM, and prints a message informing the user of the change in format.

OPTIONS
       -bgcolor colorb sets the background color the colorb.

       -fgcolor colorf sets the foreground color to colorf.

       Pixels  with these values will be anti-aliased.	By default, pnmalias takes the background
       color to be black, and foreground color to be white.

       Specify the color (color) as described for the argument of  the	ppm_parsecolor()  library
       routine <libppm.html#colorname> .

       Note  that even when dealing with PGMs, background and foreground colors need to be speci-
       fied in the fashion described above.  In this case,  pnmalias  takes  the  background  and
       foreground pixel values to be the value of the red component for the specified color.

       -bonly says to apply anti-aliasing only to the background pixels.

       -fonly says to apply anti-aliasing only to the foreground pixels.

       -balias says to apply anti-aliasing to all pixels surrounding background pixels.

       -falias says to apply anti-aliasing to all pixels surrounding foreground pixels.

       If  you	specify  neither  -balias  nor -falias, pnmalias applies anti-aliasing only among
       neighboring background and foreground pixels.

       -weight w says to use w as the central weight for the aliasing filter.  w must be  a  real
       number  in  the	range  0 < w < 1.  The lower the value of w is, the 'blurrier' the output
       image is.  The default is w = 1/3.

SEE ALSO
       pbmtext(1) , pnmsmooth(1) , pnm(1)

AUTHOR
       Copyright (C) 1992 by Alberto Accomazzi, Smithsonian Astrophysical Observatory.

netpbm documentation			  15 March 2004 		  Pnmalias User Manual(0)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums


All times are GMT -4. The time now is 03:55 AM.

Unix & Linux Forums Content Copyright©1993-2018. All Rights Reserved.