From 52c64a854218fc341d4299ab2fea9aad5b852413 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Sun, 8 Dec 2013 00:06:37 +0000 Subject: grammar git-svn-id: http://svn.code.sf.net/p/netpbm/code/userguide@2054 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- libnetpbm_image.html | 2 +- libpbm.html | 2 +- libsystem.html | 6 +++--- pamarith.html | 2 +- pamfixtrunc.html | 2 +- pamflip.html | 2 +- pamlookup.html | 33 ++++++++++++--------------------- pamtogif.html | 2 +- pamtotiff.html | 8 ++++---- pbmpage.html | 34 +++++++++++++--------------------- pnmcut.html | 5 ++--- pnmdepth.html | 2 +- pnmhisteq.html | 6 +++--- pnmnorm.html | 2 +- pnmscale.html | 4 ++-- ppm3d.html | 9 ++++----- ppmglobe.html | 2 +- ppmshadow.html | 48 ++++++++++++++++++------------------------------ ppmtoxpm.html | 2 +- pstopnm.html | 16 +++++++++++++++- 20 files changed, 86 insertions(+), 103 deletions(-) diff --git a/libnetpbm_image.html b/libnetpbm_image.html index e895c738..618b3ae7 100644 --- a/libnetpbm_image.html +++ b/libnetpbm_image.html @@ -469,7 +469,7 @@ representation of the color represented by the input tuple, assuming that the tuple is an RGB color representation (which is the case if it was read from a PPM image). The output components are based on the same scale (maxval) as the input tuple, but are floating point -nonetheless to avoid losing information due to rounding. Divide them +nonetheless to avoid losing information because of rounding. Divide them by the maxval to get normalized [0..1] values.

pnm_YCbCr_to_rgbtuple() does the reverse. pamP diff --git a/libpbm.html b/libpbm.html index 169668a0..74a86a97 100644 --- a/libpbm.html +++ b/libpbm.html @@ -226,7 +226,7 @@ there may be white space between images.

If pbm_nextimage() successfully positions to the next image, it returns *eofP false (0). If there is no next image in the file, it returns *eofP true . If it can't -position or determine the file status due to a file error, it +position or determine the file status because of a file error, it throws an error.

pbm_check() checks for the common file integrity error where diff --git a/libsystem.html b/libsystem.html index fa77dfa3..ffed547d 100644 --- a/libsystem.html +++ b/libsystem.html @@ -199,9 +199,9 @@ The last argument must be NULL to tell pm_system_lp() where the arguments end.

Note that the first argument ("arg0") to a program is -conventionally the first word of the command used to run the program, -as if it were being run due to a shell command. In other words, -typically the name of the program. +conventionally the first word of the command used to run the program, as if it +were being run for a shell command. In other words, typically the name of the +program.

Example: diff --git a/pamarith.html b/pamarith.html index 9bd5c1a1..1ef36669 100644 --- a/pamarith.html +++ b/pamarith.html @@ -172,7 +172,7 @@ left input image is less than the value in the right input image, greater than the right.

If the maxvals of the input images are not identical, pamarith -may claim two values are not equal when in fact they are, due to +may claim two values are not equal when in fact they are, because of the precision with which it does the arithmetic. However, it will never say A is greater than B if A is less than B. diff --git a/pamfixtrunc.html b/pamfixtrunc.html index 14b8477d..25f681e3 100644 --- a/pamfixtrunc.html +++ b/pamfixtrunc.html @@ -45,7 +45,7 @@ the file. For example, the program ran out of its own input or encountered a bug or ran out of space in which to write the output.

Another problem pamfixtrunc deals with is where the file isn't -actually too small, but due to a system error, a byte in the middle of +actually too small, but because of a system error, a byte in the middle of it cannot be read (think of a disk storage failure). pamfixtrunc reads the input sequentially until it can't read any further, for any reason. So it treats such an image as a truncated one, ignoring all diff --git a/pamflip.html b/pamflip.html index c14601fe..e95035bc 100644 --- a/pamflip.html +++ b/pamflip.html @@ -170,7 +170,7 @@ is row for column, it will page thrash and run very slowly. A value even slightly too high is the same as infinity.

If you specify -memsize too small, the program will run -slightly more slowly due to extra overhead in manipulating temporary +slightly more slowly because of extra overhead in manipulating temporary files. Also, if your environment isn't set up to make temporary files possible, pamflip will fail. diff --git a/pamlookup.html b/pamlookup.html index 51525db7..7eb120aa 100644 --- a/pamlookup.html +++ b/pamlookup.html @@ -7,12 +7,10 @@ Updated: 10 November 2002
Table Of Contents -  -

NAME

+

NAME

pamlookup - map an image to a new image by using it as indices into a table -  -

SYNOPSIS

+

SYNOPSIS

pamlookup -lookupfile=lookupfile @@ -25,8 +23,7 @@ pamlookup - map an image to a new image by using it as indices into a table You may use two hyphens instead of one. You may separate an option name and its value with white space instead of an equals sign. -  -

DESCRIPTION

+

DESCRIPTION

This program is part of Netpbm. @@ -126,8 +123,7 @@ output reflects the combination of both inputs), use pamstack to combine the two into one two-plane image (and use a 2-dimensional lookup table image). -  -

OPTIONS

+

OPTIONS

-lookupfile=lookupfile @@ -167,13 +163,12 @@ shrinking) with the pamscale program.

When you use -fit, pamlookup never fails or warns you -due to invalid lookup image dimensions, and the -missingcolor +because of invalid lookup image dimensions, and the -missingcolor option has no effect.

-  -

EXAMPLES

+

EXAMPLES

Example: rainfall map

@@ -259,8 +254,7 @@ produce the output: -  -

SEE ALSO

+

SEE ALSO

pnmremap, ppmmake, @@ -270,22 +264,19 @@ produce the output: pam - -

HISTORY

+

HISTORY

pamlookup was new in Netpbm 10.13 (December 2002).


-  -

Table Of Contents

+

Table Of Contents

diff --git a/pamtogif.html b/pamtogif.html index 9c51d2fa..48f8168e 100644 --- a/pamtogif.html +++ b/pamtogif.html @@ -321,7 +321,7 @@ royalty-free. Bryan adapted code from the Independent JPEG Group's djpeg for that.

There is no code in pamtogif from Jef's original, but Jef -may still hold copyright over it due to the way in which it evolved. +may still hold copyright over it because of the way in which it evolved. Virtually all of the code in pamtogif was written by Bryan Henderson and contributed to the public domain. diff --git a/pamtotiff.html b/pamtotiff.html index c7a48a0b..f5f849a1 100644 --- a/pamtotiff.html +++ b/pamtotiff.html @@ -70,8 +70,8 @@ ignored all but the first Netpbm image in the input stream.

The Output File

The output goes to Standard Output. pamtotiff approaches -this output file differently from Unix and Netpbm convention. This is -entirely due to pamtotiff's use of the TIFF library to do all +this output file differently from Unix and Netpbm convention. This is due +entirely to pamtotiff's use of the TIFF library to do all TIFF output.