From 104eecdba074d7e8e566ac5671a3bca7aa35a70b Mon Sep 17 00:00:00 2001 From: giraffedata Date: Tue, 28 Sep 2021 23:14:16 +0000 Subject: miscellaneous update git-svn-id: http://svn.code.sf.net/p/netpbm/code/userguide@4142 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- pambackground.html | 3 ++- pbmmask.html | 26 ++++++++++++++++++++------ 2 files changed, 22 insertions(+), 7 deletions(-) diff --git a/pambackground.html b/pambackground.html index 795a020e..6b0d9953 100644 --- a/pambackground.html +++ b/pambackground.html @@ -15,7 +15,7 @@ pambackground - create a mask of the background area of an image [netpbmfile] -[-verbose=] +[-verbose]

Minimum unique abbreviations of options are acceptable. You may use double hyphens instead of single hyphen to denote options. You @@ -152,6 +152,7 @@ command line option: pgmtopgm, pamstack, pamgetcolor, +pbmmaskd, pnm, pam, diff --git a/pbmmask.html b/pbmmask.html index 5916cdbf..9e72f5a3 100644 --- a/pbmmask.html +++ b/pbmmask.html @@ -2,7 +2,7 @@ Pbmmask User Manual

pbmmask

-Updated: 08 August 1989 +Updated: 28 September 2021
Table Of Contents @@ -20,13 +20,14 @@ pbmmask - create a mask bitmap from a regular bitmap

This program is part of Netpbm. -

pbmmask reads a PBM image as input and Generates a +

pbmmask reads a PBM image as input and generates a corresponding mask of the foreground areas as another PBM image. -

The color to be interpreted as "background" is -determined automatically. Regardless of which color is background, -the mask will be white where the background is and black where the -figure is. +

This is probably obsoleted by pambackground. + +

The color to be interpreted as "background" is determined automatically. +Regardless of which color is background, the mask will be white where the +background is and black where the figure is.

This lets you do a masked paste like this, for objects with a black background: @@ -80,6 +81,7 @@ cellular automaton tool...)

SEE ALSO

+pambackground ppmcolormask, pnmpaste, pnminvert, @@ -91,6 +93,17 @@ cellular automaton tool...) Copyright (C) 1988 by Jef Poskanzer. +

HISTORY

+ +

pbmmask is one of the oldest programs in Netpbm. In September 2021, + the date on this manual was August 8, 1989 (being the date of the last + substantial update). We updated the page then just to add this historical + information and recommend pambackground. + +

It is likely that when Bryan wrote pambackground in 2006, he was + unaware pbmmask existed. Otherwise, he would presumably have + replaced pbmmask with a wrapper around pambackground. +


Table Of Contents

-- cgit 1.4.1