Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Pnmmargin User Manual(0)			      Pnmmargin	User Manual(0)

NAME
       pnmmargin - add borders to a PNM	image

SYNOPSIS
       pnmmargin [-white|-black|-color colorspec] size [pnmfile]

DESCRIPTION
       This program is part of Netpbm(1).

       pnmmargin adds a	border around a	PNM image.

ARGUMENTS
       pnmfile is the name of the input	file.  If you don't specify this argu-
       ment, pnmmargin reads the input image from its Standard Input.

OPTIONS
       You can specify the border color	with the -white,  -black,  and	-color
       options.	 If you	don't specify a	color, the program makes a guess.

       The  value  of  -color  is  like	 the  argument of the pnm_parsecolor()
       library routine <libnetpbm_image.html#colorname>	.

       To remove a border of a specified size from an image, use pamcut.  pnm-
       crop  also removes borders, but determines by itself what is border and
       what is subject.

       For lower level control,	including to add  different  size  borders  to
       different sides of the image, look at pnmcat.

       If  all	you're	trying to do is	get the	image up to a certain required
       size, pamcut may	be what	you want.

       pnmpad does essentially the same	thing, but gives you more control over
       the individual margins and does only black and white margins.

SEE ALSO
       o

	      pamcut(1)

       o

	      pnmcrop(1)

       o

	      pnmcat(1)

       o

	      pnmpad(1)

       o

	      pnm(5)

AUTHOR
       Copyright (C) 1991 by Jef Poskanzer.

DOCUMENT SOURCE
       This  manual  page was generated	by the Netpbm tool 'makeman' from HTML
       source.	The master documentation is at

	      http://netpbm.sourceforge.net/doc/pnmmargin.html

netpbm documentation	       12 November 2014	      Pnmmargin	User Manual(0)

NAME | SYNOPSIS | DESCRIPTION | ARGUMENTS | OPTIONS | SEE ALSO | AUTHOR | DOCUMENT SOURCE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=pnmmargin&sektion=1&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help