Compare commits
No commits in common. 'i8c' and 'c9' have entirely different histories.
@ -1 +1 @@
|
||||
SOURCES/netpbm-10.82.00.tar.xz
|
||||
SOURCES/netpbm-10.95.00.tar.xz
|
||||
|
@ -1 +1 @@
|
||||
a33148501a050c578d0f48976a1117984bc0fe49 SOURCES/netpbm-10.82.00.tar.xz
|
||||
05fc8e8e42f4905bf859607aa6a7d9744174a711 SOURCES/netpbm-10.95.00.tar.xz
|
||||
|
@ -1,24 +0,0 @@
|
||||
diff -urNp a/buildtools/Makefile b/buildtools/Makefile
|
||||
--- a/buildtools/Makefile 2018-09-24 11:36:56.173535757 +0200
|
||||
+++ b/buildtools/Makefile 2018-09-24 11:40:09.537553859 +0200
|
||||
@@ -44,7 +44,7 @@ genfontc:%:%.o $(NETPBMLIB)
|
||||
$(LD_FOR_BUILD) -o $@ $(LDFLAGS_FOR_BUILD) $< $(NETPBMLIB)
|
||||
|
||||
$(BUILDPROGS):%:%.o
|
||||
- $(LD_FOR_BUILD) -o $@ $(LDFLAGS_FOR_BUILD) $<
|
||||
+ $(LD_FOR_BUILD) -o $@ $(LDFLAGSPRE) $<
|
||||
|
||||
distclean clean: cleanlocal
|
||||
.PHONY: cleanlocal
|
||||
diff -urNp a/test/Makefile b/test/Makefile
|
||||
--- a/test/Makefile 2018-09-24 11:36:56.211535549 +0200
|
||||
+++ b/test/Makefile 2018-09-24 12:40:56.440812065 +0200
|
||||
@@ -18,7 +18,7 @@ testrandom.o: testrandom.c
|
||||
$(CC_FOR_BUILD) -c -o $@ $(CFLAGS_FOR_BUILD) $<
|
||||
|
||||
testrandom: testrandom.o
|
||||
- $(LD_FOR_BUILD) -o $@ $(LDFLAGS_FOR_BUILD) $<
|
||||
+ $(LD_FOR_BUILD) -o $@ $(LDFLAGSPRE) $<
|
||||
|
||||
RAND_VARIETY ?= $(shell ./testrandom -x)
|
||||
|
@ -1,351 +0,0 @@
|
||||
diff -urNp a/converter/other/fiasco/lib/error.c b/converter/other/fiasco/lib/error.c
|
||||
--- a/converter/other/fiasco/lib/error.c 2018-09-26 11:45:35.787418476 +0200
|
||||
+++ b/converter/other/fiasco/lib/error.c 2018-09-27 08:35:35.051707228 +0200
|
||||
@@ -89,8 +89,10 @@ set_error(const char *format, ...) {
|
||||
} else if (*str == 'c') {
|
||||
(void)va_arg(args, int);
|
||||
len += 1;
|
||||
- } else
|
||||
+ } else {
|
||||
+ va_end(args);
|
||||
return;
|
||||
+ }
|
||||
++str;
|
||||
}
|
||||
va_end(args);
|
||||
@@ -204,8 +206,10 @@ warning (const char *format, ...)
|
||||
|
||||
VA_START (args, format);
|
||||
|
||||
- if (verboselevel == FIASCO_NO_VERBOSITY)
|
||||
+ if (verboselevel == FIASCO_NO_VERBOSITY) {
|
||||
+ va_end (args);
|
||||
return;
|
||||
+ }
|
||||
|
||||
fprintf (stderr, "Warning: ");
|
||||
vfprintf (stderr, format, args);
|
||||
@@ -224,8 +228,10 @@ message (const char *format, ...)
|
||||
|
||||
VA_START (args, format);
|
||||
|
||||
- if (verboselevel == FIASCO_NO_VERBOSITY)
|
||||
+ if (verboselevel == FIASCO_NO_VERBOSITY) {
|
||||
+ va_end(args);
|
||||
return;
|
||||
+ }
|
||||
|
||||
vfprintf (stderr, format, args);
|
||||
fputc ('\n', stderr);
|
||||
@@ -242,8 +248,10 @@ debug_message (const char *format, ...)
|
||||
|
||||
VA_START (args, format);
|
||||
|
||||
- if (verboselevel < FIASCO_ULTIMATE_VERBOSITY)
|
||||
+ if (verboselevel < FIASCO_ULTIMATE_VERBOSITY) {
|
||||
+ va_end (args);
|
||||
return;
|
||||
+ }
|
||||
|
||||
fprintf (stderr, "*** ");
|
||||
vfprintf (stderr, format, args);
|
||||
@@ -261,8 +269,10 @@ info (const char *format, ...)
|
||||
|
||||
VA_START (args, format);
|
||||
|
||||
- if (verboselevel == FIASCO_NO_VERBOSITY)
|
||||
+ if (verboselevel == FIASCO_NO_VERBOSITY) {
|
||||
+ va_end (args);
|
||||
return;
|
||||
+ }
|
||||
|
||||
vfprintf (stderr, format, args);
|
||||
fflush (stderr);
|
||||
diff -urNp a/converter/other/gemtopnm.c b/converter/other/gemtopnm.c
|
||||
--- a/converter/other/gemtopnm.c 2018-09-26 11:45:35.791418469 +0200
|
||||
+++ b/converter/other/gemtopnm.c 2018-09-27 08:36:51.058648634 +0200
|
||||
@@ -101,10 +101,11 @@ main(argc, argv)
|
||||
|
||||
if (planes == 1)
|
||||
type = PBM_TYPE;
|
||||
- else
|
||||
+ else
|
||||
type = PPM_TYPE;
|
||||
|
||||
- pnm_writepnminit( stdout, cols, rows, MAXVAL, type, 0 );
|
||||
+ pnm_writepnminit( stdout, cols, rows, MAXVAL, type, 0 );
|
||||
+
|
||||
|
||||
overflow_add(cols, padright);
|
||||
{
|
||||
diff -urNp a/converter/other/jbig/jbigtopnm.c b/converter/other/jbig/jbigtopnm.c
|
||||
--- a/converter/other/jbig/jbigtopnm.c 2018-09-26 11:45:35.779418489 +0200
|
||||
+++ b/converter/other/jbig/jbigtopnm.c 2018-09-26 12:30:12.498686400 +0200
|
||||
@@ -279,6 +279,7 @@ int main (int argc, char **argv)
|
||||
}
|
||||
|
||||
pm_close(fout);
|
||||
+ pm_close(fin);
|
||||
|
||||
jbg_dec_free(&s);
|
||||
|
||||
diff -urNp a/converter/other/jbig/libjbig/jbig.c b/converter/other/jbig/libjbig/jbig.c
|
||||
--- a/converter/other/jbig/libjbig/jbig.c 2018-09-26 11:45:35.779418489 +0200
|
||||
+++ b/converter/other/jbig/libjbig/jbig.c 2018-09-26 12:32:47.179520102 +0200
|
||||
@@ -887,7 +887,7 @@ void jbg_enc_options(struct jbg_enc_stat
|
||||
if (order >= 0 && order <= 0x0f) s->order = order;
|
||||
if (options >= 0) s->options = options;
|
||||
if (l0 > 0) s->l0 = l0;
|
||||
- if (mx >= 0 && my < 128) s->mx = mx;
|
||||
+ if (mx >= 0 && mx < 128) s->mx = mx;
|
||||
if (my >= 0 && my < 256) s->my = my;
|
||||
|
||||
return;
|
||||
diff -urNp a/converter/other/jpeg2000/jpeg2ktopam.c b/converter/other/jpeg2000/jpeg2ktopam.c
|
||||
--- a/converter/other/jpeg2000/jpeg2ktopam.c 2018-09-26 11:45:35.774418498 +0200
|
||||
+++ b/converter/other/jpeg2000/jpeg2ktopam.c 2018-09-26 12:47:13.369571321 +0200
|
||||
@@ -135,11 +135,11 @@ readJ2k(const char * const inputFilena
|
||||
|
||||
jasperP = jas_image_decode(instreamP, jas_image_getfmt(instreamP),
|
||||
(char*)options);
|
||||
- if (jasperP == NULL)
|
||||
+ if (jasperP == NULL) {
|
||||
pm_error("Unable to interpret JPEG-2000 input. "
|
||||
"The Jasper library jas_image_decode() subroutine failed.");
|
||||
-
|
||||
- jas_stream_close(instreamP);
|
||||
+ }
|
||||
+ jas_stream_close(instreamP);
|
||||
|
||||
*jasperPP = jasperP;
|
||||
}
|
||||
diff -urNp a/converter/other/jpeg2000/libjasper/jpc/jpc_util.c b/converter/other/jpeg2000/libjasper/jpc/jpc_util.c
|
||||
--- a/converter/other/jpeg2000/libjasper/jpc/jpc_util.c 2018-09-26 11:45:35.774418498 +0200
|
||||
+++ b/converter/other/jpeg2000/libjasper/jpc/jpc_util.c 2018-09-26 12:50:30.121353853 +0200
|
||||
@@ -151,7 +151,7 @@ int jpc_atoaf(const char *s, int *numval
|
||||
if ((cp = strtok(buf, delim))) {
|
||||
++n;
|
||||
while ((cp = strtok(0, delim))) {
|
||||
- if (cp != '\0') {
|
||||
+ if (*cp != '\0') {
|
||||
++n;
|
||||
}
|
||||
}
|
||||
@@ -169,7 +169,7 @@ int jpc_atoaf(const char *s, int *numval
|
||||
vs[n] = atof(cp);
|
||||
++n;
|
||||
while ((cp = strtok(0, delim))) {
|
||||
- if (cp != '\0') {
|
||||
+ if (*cp != '\0') {
|
||||
vs[n] = atof(cp);
|
||||
++n;
|
||||
}
|
||||
diff -urNp a/converter/other/jpeg2000/pamtojpeg2k.c b/converter/other/jpeg2000/pamtojpeg2k.c
|
||||
--- a/converter/other/jpeg2000/pamtojpeg2k.c 2018-09-26 11:45:35.774418498 +0200
|
||||
+++ b/converter/other/jpeg2000/pamtojpeg2k.c 2018-09-26 12:52:06.202247510 +0200
|
||||
@@ -355,7 +355,7 @@ convertToJasperImage(struct pam * cons
|
||||
JAS_IMAGE_CT_COLOR(JAS_IMAGE_CT_RGB_B));
|
||||
}
|
||||
} else {
|
||||
- if (strncmp(inpamP->tuple_type, "GRAYSCALE", 9 == 0) ||
|
||||
+ if (strncmp(inpamP->tuple_type, "GRAYSCALE", 9) == 0 ||
|
||||
strncmp(inpamP->tuple_type, "BLACKANDWHITE", 13) == 0) {
|
||||
jas_image_setclrspc(jasperP, JAS_CLRSPC_GENGRAY);
|
||||
jas_image_setcmpttype(jasperP, 0,
|
||||
diff -urNp a/converter/pbm/pbmtoln03.c b/converter/pbm/pbmtoln03.c
|
||||
--- a/converter/pbm/pbmtoln03.c 2018-09-26 11:45:35.769418507 +0200
|
||||
+++ b/converter/pbm/pbmtoln03.c 2018-09-26 13:15:36.205121268 +0200
|
||||
@@ -80,22 +80,25 @@ output_sixel_record (unsigned char * rec
|
||||
/* Do an encoding */
|
||||
record[j++] = '!' ;
|
||||
sprintf (repeated_str, "%d", i - start_repeat) ;
|
||||
- for (p = repeated_str ; *p ; p++)
|
||||
+ for (p = repeated_str ; *p ; p++) {
|
||||
record[j++] = *p ;
|
||||
- record[j++] = last_char ; }
|
||||
+ }
|
||||
+ record[j++] = last_char ;
|
||||
|
||||
- else {
|
||||
+ } else {
|
||||
for (k = 0 ; k < repeated ; k++)
|
||||
- record[j++] = last_char ; }
|
||||
+ record[j++] = last_char ;
|
||||
+ }
|
||||
|
||||
start_repeat = i ;
|
||||
- last_char = record[i] ; }
|
||||
+ last_char = record[i] ;
|
||||
}
|
||||
+ }
|
||||
|
||||
fwrite ((char *) record, j, 1, stdout) ;
|
||||
putchar ('-') ; /* DECGNL (graphics new-line) */
|
||||
putchar ('\n') ;
|
||||
- }
|
||||
+}
|
||||
|
||||
|
||||
static void
|
||||
diff -urNp a/converter/pbm/pbmtomacp.c b/converter/pbm/pbmtomacp.c
|
||||
--- a/converter/pbm/pbmtomacp.c 2018-09-26 11:45:35.769418507 +0200
|
||||
+++ b/converter/pbm/pbmtomacp.c 2018-09-26 14:47:55.085913872 +0200
|
||||
@@ -177,7 +177,7 @@ calculateCropPad(struct CmdlineInfo
|
||||
pm_message("Specified -bottom value %u is beyond edge of "
|
||||
"input image", cmdline.bottom);
|
||||
|
||||
- bottom = MIN3(cmdline.bottom, rows - 1, top + MACP_ROWS - 1);
|
||||
+ bottom = MIN3(cmdline.bottom, rows - 1, top + MACP_ROWS - 1);
|
||||
} else
|
||||
bottom = MIN(rows - 1, top + MACP_ROWS - 1);
|
||||
|
||||
diff -urNp a/converter/pbm/pbmtoppa/pbm.c b/converter/pbm/pbmtoppa/pbm.c
|
||||
--- a/converter/pbm/pbmtoppa/pbm.c 2018-09-26 11:45:35.769418507 +0200
|
||||
+++ b/converter/pbm/pbmtoppa/pbm.c 2018-09-26 14:49:51.956959516 +0200
|
||||
@@ -12,6 +12,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
+#include "ppm.h"
|
||||
#include "ppapbm.h"
|
||||
|
||||
int make_pbm_stat(pbm_stat* pbm,FILE* fptr)
|
||||
diff -urNp a/converter/ppm/pjtoppm.c b/converter/ppm/pjtoppm.c
|
||||
--- a/converter/ppm/pjtoppm.c 2018-09-26 11:45:35.797418458 +0200
|
||||
+++ b/converter/ppm/pjtoppm.c 2018-09-26 14:52:41.300937179 +0200
|
||||
@@ -11,6 +11,7 @@
|
||||
*/
|
||||
|
||||
#include "ppm.h"
|
||||
+#include "pm.h"
|
||||
#include "mallocvar.h"
|
||||
|
||||
static char usage[] = "[paintjetfile]";
|
||||
diff -urNp a/converter/ppm/ppmtomitsu.c b/converter/ppm/ppmtomitsu.c
|
||||
--- a/converter/ppm/ppmtomitsu.c 2018-09-26 11:45:35.797418458 +0200
|
||||
+++ b/converter/ppm/ppmtomitsu.c 2018-09-26 14:56:09.837804961 +0200
|
||||
@@ -651,9 +651,10 @@ main(int argc, char * argv[]) {
|
||||
dpi300 = TRUE;
|
||||
else if (pm_keymatch(argv[argn], "-tiny", 2))
|
||||
tiny = TRUE;
|
||||
- else
|
||||
+ else
|
||||
pm_usage(usage);
|
||||
- ++argn;
|
||||
+
|
||||
+ ++argn;
|
||||
}
|
||||
|
||||
if (argn < argc) {
|
||||
diff -urNp a/converter/ppm/tgatoppm.c b/converter/ppm/tgatoppm.c
|
||||
--- a/converter/ppm/tgatoppm.c 2018-09-26 11:45:35.795418462 +0200
|
||||
+++ b/converter/ppm/tgatoppm.c 2018-09-26 15:03:12.084322787 +0200
|
||||
@@ -168,8 +168,8 @@ get_pixel(FILE * const ifP, pixel * dest
|
||||
Red = getbyte( ifP );
|
||||
if ( Size == 32 )
|
||||
Alpha = getbyte( ifP );
|
||||
- else
|
||||
- Alpha = 0;
|
||||
+ else
|
||||
+ Alpha = 0;
|
||||
l = 0;
|
||||
break;
|
||||
|
||||
diff -urNp a/converter/ppm/xpmtoppm.c b/converter/ppm/xpmtoppm.c
|
||||
--- a/converter/ppm/xpmtoppm.c 2018-09-26 11:45:35.795418462 +0200
|
||||
+++ b/converter/ppm/xpmtoppm.c 2018-09-26 15:09:39.763747185 +0200
|
||||
@@ -941,8 +941,8 @@ convertRaster(FILE * cons
|
||||
if (imageOutFileP)
|
||||
ppm_writeppmrow(imageOutFileP,
|
||||
pixrow, cols, PPM_MAXMAXVAL, 0);
|
||||
- if (alphaOutFileP)
|
||||
- pbm_writepbmrow(alphaOutFileP, alpharow, cols, 0);
|
||||
+ if (alphaOutFileP)
|
||||
+ pbm_writepbmrow(alphaOutFileP, alpharow, cols, 0);
|
||||
}
|
||||
|
||||
pbm_freerow(alpharow);
|
||||
diff -urNp a/editor/pnmconvol.c b/editor/pnmconvol.c
|
||||
--- a/editor/pnmconvol.c 2018-09-26 11:45:35.758418526 +0200
|
||||
+++ b/editor/pnmconvol.c 2018-09-26 15:25:06.963058646 +0200
|
||||
@@ -733,7 +733,7 @@ parsePlaneFileLine(const char * const
|
||||
"-matrix value is not a valid floating point "
|
||||
"number", colCt, line);
|
||||
|
||||
- ++colCt;
|
||||
+ ++colCt;
|
||||
}
|
||||
pm_strfree(token);
|
||||
}
|
||||
diff -urNp a/generator/pbmtext.c b/generator/pbmtext.c
|
||||
--- a/generator/pbmtext.c 2018-09-26 11:45:35.727418580 +0200
|
||||
+++ b/generator/pbmtext.c 2018-09-26 15:29:14.618407929 +0200
|
||||
@@ -404,7 +404,7 @@ fixControlChars(const PM_WCHAR * const
|
||||
output[outCursor++] = L' ';
|
||||
} else if (currentChar > fontP->maxglyph ||
|
||||
!fontP->glyph[currentChar]) {
|
||||
- if (currentChar > PM_FONT2_MAXGLYPH)
|
||||
+ if (currentChar > PM_FONT2_MAXGLYPH){
|
||||
pm_message("code point %X is beyond what this program "
|
||||
"can handle. Max=%X",
|
||||
(unsigned int)currentChar, PM_FONT2_MAXGLYPH);
|
||||
@@ -420,15 +420,15 @@ fixControlChars(const PM_WCHAR * const
|
||||
(unsigned int) currentChar );
|
||||
output[outCursor++] = ' ';
|
||||
}
|
||||
+ }
|
||||
} else
|
||||
output[outCursor++] = input[inCursor];
|
||||
-
|
||||
+
|
||||
assert(outCursor <= outputSize);
|
||||
}
|
||||
output[outCursor++] = L'\0';
|
||||
|
||||
assert(outCursor <= outputSize);
|
||||
-
|
||||
*outputP = output;
|
||||
}
|
||||
|
||||
diff -urNp a/lib/libpm.c b/lib/libpm.c
|
||||
--- a/lib/libpm.c 2018-09-26 11:45:35.768418509 +0200
|
||||
+++ b/lib/libpm.c 2018-09-27 08:20:50.933203723 +0200
|
||||
@@ -437,9 +437,10 @@ pm_maxvaltobits(int const maxval) {
|
||||
return 15;
|
||||
else if ( (long) maxval <= 65535L )
|
||||
return 16;
|
||||
- else
|
||||
+ else {
|
||||
pm_error( "maxval of %d is too large!", maxval );
|
||||
return -1; /* Should never come here */
|
||||
+ }
|
||||
}
|
||||
|
||||
int
|
||||
diff -urNp a/other/pamfix.c b/other/pamfix.c
|
||||
--- a/other/pamfix.c 2018-09-26 11:45:35.755418531 +0200
|
||||
+++ b/other/pamfix.c 2018-09-27 08:23:00.923166374 +0200
|
||||
@@ -184,7 +184,7 @@ clipPamRow(const struct pam * const pamP
|
||||
"image maxval of %lu",
|
||||
row, col, plane, tuplerow[col][plane],
|
||||
pamP->maxval);
|
||||
- tuplerow[col][plane] = pamP->maxval;
|
||||
+ tuplerow[col][plane] = pamP->maxval;
|
||||
}
|
||||
}
|
||||
}
|
||||
diff -urNp a/other/pnmcolormap.c b/other/pnmcolormap.c
|
||||
--- a/other/pnmcolormap.c 2018-09-26 11:45:35.756418529 +0200
|
||||
+++ b/other/pnmcolormap.c 2018-09-27 08:28:57.053986251 +0200
|
||||
@@ -838,9 +838,10 @@ colormapToSquare(struct pam * const pamP
|
||||
unsigned int const intsqrt = (int)sqrt((float)colormap.size);
|
||||
if (intsqrt * intsqrt == colormap.size)
|
||||
pamP->width = intsqrt;
|
||||
- else
|
||||
+ else {
|
||||
pamP->width = intsqrt + 1;
|
||||
overflow_add(intsqrt, 1);
|
||||
+ }
|
||||
}
|
||||
{
|
||||
unsigned int const intQuotient = colormap.size / pamP->width;
|
@ -1,12 +0,0 @@
|
||||
diff -up netpbm-10.47.09/converter/other/fiasco/lib/image.h.fiasco-overflow netpbm-10.47.09/converter/other/fiasco/lib/image.h
|
||||
--- netpbm-10.47.09/converter/other/fiasco/lib/image.h.fiasco-overflow 2010-01-25 09:00:48.000000000 +0100
|
||||
+++ netpbm-10.47.09/converter/other/fiasco/lib/image.h 2010-01-27 10:29:48.000000000 +0100
|
||||
@@ -29,7 +29,7 @@ typedef struct image
|
||||
* Image data
|
||||
*/
|
||||
{
|
||||
- char id [7];
|
||||
+ char id [8];
|
||||
unsigned reference_count;
|
||||
unsigned width; /* Width of the image */
|
||||
unsigned height; /* Height of the image */
|
@ -1,184 +1,541 @@
|
||||
diff -urNp old/userguide/avstopam.html new/userguide/avstopam.html
|
||||
--- old/userguide/avstopam.html 2017-09-05 13:58:08.338559550 +0200
|
||||
+++ new/userguide/avstopam.html 2017-09-05 14:00:27.371039472 +0200
|
||||
@@ -1,8 +1,7 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
||||
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
||||
+<html>
|
||||
<head>
|
||||
<title>Avstopam User Manual</title>
|
||||
-<meta http-equiv="content-type" content="text/html; charset=us-ascii" />
|
||||
</head>
|
||||
|
||||
diff -urNp a/userguide/avstopam.html b/userguide/avstopam.html
|
||||
--- a/userguide/avstopam.html 2021-06-02 12:56:59.584286425 +0200
|
||||
+++ b/userguide/avstopam.html 2021-06-02 15:00:33.799300026 +0200
|
||||
@@ -2,12 +2,13 @@
|
||||
<html><head><title>Avstopam User Manual</title></head>
|
||||
<body>
|
||||
diff -urNp old/userguide/escp2topbm.html new/userguide/escp2topbm.html
|
||||
--- old/userguide/escp2topbm.html 2017-09-05 13:58:08.335559561 +0200
|
||||
+++ new/userguide/escp2topbm.html 2017-09-05 14:01:20.226842694 +0200
|
||||
@@ -6,6 +6,7 @@ Updated: 14 July 2015
|
||||
<BR>
|
||||
<A HREF="#index">Table Of Contents</A>
|
||||
|
||||
+<H2>NAME</H2>
|
||||
escp2topbm - convert an ESC/P2 printer file to a PBM image
|
||||
|
||||
<H2 id="synopsis">SYNOPSIS</H2>
|
||||
diff -urNp old/userguide/faxformat.html new/userguide/faxformat.html
|
||||
--- old/userguide/faxformat.html 2017-09-05 13:58:08.337559553 +0200
|
||||
+++ new/userguide/faxformat.html 2017-09-05 14:02:33.322571279 +0200
|
||||
<h1>avstopam</h1>
|
||||
-Updated: 07 February 2010
|
||||
-<br>
|
||||
-<a href="#index">Table Of Contents</a>
|
||||
+
|
||||
+<p>Updated: 07 February 2010</p>
|
||||
+
|
||||
+<p><a href="#index">Table Of Contents</a></p>
|
||||
<h2>NAME</h2>
|
||||
|
||||
-<p>avstopam - convert an AVS X image to a Netpbm image
|
||||
+<p>avstopam - convert an AVS X image to a Netpbm image</p>
|
||||
|
||||
<h2 id="synopsis">SYNOPSIS</h2>
|
||||
|
||||
@@ -16,40 +17,40 @@ Updated: 07 February 2010
|
||||
|
||||
<h2 id="description">DESCRIPTION</h2>
|
||||
|
||||
-<p>This program is part of <a href="index.html">Netpbm</a>.
|
||||
+<p>This program is part of <a href="index.html">Netpbm</a>.</p>
|
||||
|
||||
<p><b>avstopam</b> reads a Stardent <abbr title="Application
|
||||
Visualization System">AVS</abbr> X image as input and produces a Netpbm
|
||||
-image as output.
|
||||
+image as output.</p>
|
||||
|
||||
<p><i>avsfile</i> is the input file, which defaults to Standard Input.
|
||||
-Output is always on Standard Output.
|
||||
+Output is always on Standard Output.</p>
|
||||
|
||||
<h2 id="options">OPTIONS</h2>
|
||||
|
||||
<p>There are no command line options defined specifically
|
||||
for <b>avstopam</b>, but it recognizes the options common to all
|
||||
programs based on libnetpbm (See <a href="index.html#commonoptions">
|
||||
-Common Options</a>.)
|
||||
+Common Options</a>.)</p>
|
||||
|
||||
<h2 id="author">AUTHOR</h2>
|
||||
|
||||
<p>Copyright © 2010 Scott Pakin,
|
||||
-<a href="mailto:scott+pbm@pakin.org">scott+pbm@pakin.org</a>
|
||||
+<a href="mailto:scott+pbm@pakin.org">scott+pbm@pakin.org</a></p>
|
||||
|
||||
<h2 id="seealso">SEE ALSO</h2>
|
||||
|
||||
-<p><a href="pamtoavs.html">pamtoavs</a>, <a href="pam.html">pam</a>
|
||||
+<p><a href="pamtoavs.html">pamtoavs</a>, <a href="pam.html">pam</a></p>
|
||||
|
||||
<hr>
|
||||
|
||||
<h2 id="index">Table Of Contents</h2>
|
||||
<ul>
|
||||
-<li><a href="#synopsis">SYNOPSIS</a>
|
||||
-<li><a href="#description">DESCRIPTION</a>
|
||||
-<li><a href="#options">OPTIONS</a>
|
||||
-<li><a href="#author">AUTHOR</a>
|
||||
-<li><a href="#seealso">SEE ALSO</a>
|
||||
+<li><a href="#synopsis">SYNOPSIS</a></li>
|
||||
+<li><a href="#description">DESCRIPTION</a></li>
|
||||
+<li><a href="#options">OPTIONS</a></li>
|
||||
+<li><a href="#author">AUTHOR</a></li>
|
||||
+<li><a href="#seealso">SEE ALSO</a></li>
|
||||
</ul>
|
||||
</body>
|
||||
</html>
|
||||
diff -urNp a/userguide/faxformat.html b/userguide/faxformat.html
|
||||
--- a/userguide/faxformat.html 2021-06-02 12:56:59.576286351 +0200
|
||||
+++ b/userguide/faxformat.html 2021-06-02 15:02:58.710711998 +0200
|
||||
@@ -5,10 +5,11 @@
|
||||
Updated: 03 December 2008
|
||||
<BR>
|
||||
<br>
|
||||
|
||||
+<H2>SYNOPSIS</H2>
|
||||
+<h2>SYNOPSIS</h2>
|
||||
<p>This page, part of the <a href="index.html">Netpbm user's guide</a>,
|
||||
describes FAX formats in relation to Netpbm facilities.
|
||||
|
||||
-
|
||||
+<H2>DESCRIPTION</H2>
|
||||
+<h2>DESCRIPTION</h2>
|
||||
<p>The ITU (formerly CCITT) publishes standards for operation of fax machines
|
||||
(the idea is to provide a way to be sure that a fax machine is able to receive
|
||||
a fax sent by another). These standards incidentally specify graphics file
|
||||
diff -urNp old/userguide/pampaintspill.html new/userguide/pampaintspill.html
|
||||
--- old/userguide/pampaintspill.html 2017-09-05 13:58:08.338559550 +0200
|
||||
+++ new/userguide/pampaintspill.html 2017-09-05 14:03:32.625351620 +0200
|
||||
@@ -1,8 +1,7 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
||||
-<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
+<html>
|
||||
<head>
|
||||
<title>Pampaintspill User Manual</title>
|
||||
-<meta http-equiv="content-type" content="text/html; charset=us-ascii" />
|
||||
</head>
|
||||
diff -urNp a/userguide/libnetpbm_ug.html b/userguide/libnetpbm_ug.html
|
||||
--- a/userguide/libnetpbm_ug.html 2021-06-02 12:56:59.584286425 +0200
|
||||
+++ b/userguide/libnetpbm_ug.html 2021-06-02 14:36:35.392293125 +0200
|
||||
@@ -374,7 +374,7 @@ plain format.
|
||||
<h2 id="reference">Reference</h2>
|
||||
|
||||
<body>
|
||||
@@ -11,6 +10,7 @@
|
||||
|
||||
<p><a href="#index">Table Of Contents</a></p>
|
||||
|
||||
+<H2>NAME</H2>
|
||||
<p>pampaintspill - smoothly spill colors into the background</p>
|
||||
|
||||
<h2><a name="synopsis">SYNOPSIS</a></h2>
|
||||
diff -urNp old/userguide/pamrecolor.html new/userguide/pamrecolor.html
|
||||
--- old/userguide/pamrecolor.html 2017-09-05 13:58:08.336559557 +0200
|
||||
+++ new/userguide/pamrecolor.html 2017-09-05 14:04:34.714122098 +0200
|
||||
@@ -1,8 +1,7 @@
|
||||
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
|
||||
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>Pamrecolor User Manual</title>
|
||||
-<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
|
||||
</head>
|
||||
<p>The <a href="libnetpbm_image.html">Libnetpbm Netpbm Image
|
||||
-Processing Manual</a> describes the the <b>libnetpbm</b> functions for
|
||||
+Processing Manual</a> describes the <b>libnetpbm</b> functions for
|
||||
processing image data.
|
||||
|
||||
<body>
|
||||
@@ -11,7 +10,7 @@
|
||||
<p>The <a href="libpm.html">Libnetpbm Utility Manual</a>
|
||||
diff -urNp a/userguide/pamfunc.html b/userguide/pamfunc.html
|
||||
--- a/userguide/pamfunc.html 2021-06-02 12:56:59.585286434 +0200
|
||||
+++ b/userguide/pamfunc.html 2021-06-02 14:40:09.474375441 +0200
|
||||
@@ -60,7 +60,7 @@ output image.
|
||||
and bit string (such as and with 01001000). For the arithmetic functions, the
|
||||
function arguments and results are the fraction that a sample is of the
|
||||
maxval, i.e. normal interpretation of PAM tuples. But for the bit string
|
||||
-functions, the value is the the bit string whose value as a binary cipher is
|
||||
+functions, the value is the bit string whose value as a binary cipher is
|
||||
the sample value, and the maxval indicates the width of the bit string.
|
||||
|
||||
<p>Updated: 31 July 2010</p>
|
||||
<h4>Arithmetic functions</h4>
|
||||
diff -urNp a/userguide/pammixmulti.html b/userguide/pammixmulti.html
|
||||
--- a/userguide/pammixmulti.html 2021-06-02 12:56:59.586286443 +0200
|
||||
+++ b/userguide/pammixmulti.html 2021-06-02 14:28:03.105311615 +0200
|
||||
@@ -7,8 +7,8 @@ Updated: 18 November 2018
|
||||
<a href="#index">Table Of Contents</a>
|
||||
|
||||
-<p><a href="#contents">Table Of Contents</a></p>
|
||||
+<p><a href="#index">Table Of Contents</a></p>
|
||||
|
||||
-<h2>NAME</h2>
|
||||
-<p>pammixmulti - blend together multiple PAM images
|
||||
+<h2 id="name">NAME</h2>
|
||||
+<p>pammixmulti - blend together multiple PAM images</p>
|
||||
|
||||
<h2 id="name">NAME</h2>
|
||||
diff -urNp old/userguide/pamsistoaglyph.html new/userguide/pamsistoaglyph.html
|
||||
--- old/userguide/pamsistoaglyph.html 2017-09-05 13:58:08.334559565 +0200
|
||||
+++ new/userguide/pamsistoaglyph.html 2017-09-05 14:05:25.865944327 +0200
|
||||
@@ -1,8 +1,7 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
||||
-<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
+<html>
|
||||
<head>
|
||||
<title>Pamsistoaglyph User Manual</title>
|
||||
-<meta http-equiv="content-type" content="text/html; charset=us-ascii" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
diff -urNp old/userguide/pamstereogram.html new/userguide/pamstereogram.html
|
||||
--- old/userguide/pamstereogram.html 2017-09-05 13:58:08.337559553 +0200
|
||||
+++ new/userguide/pamstereogram.html 2017-09-05 14:13:28.523959069 +0200
|
||||
@@ -1,5 +1,5 @@
|
||||
-<!DOCTYPE html>
|
||||
-<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
||||
+<html>
|
||||
<head>
|
||||
<title>Pamstereogram User Manual</title>
|
||||
</head>
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
<p>Updated: 19 June 2015</p>
|
||||
|
||||
-<p><a href="#contents">Table Of Contents</a></p>
|
||||
+<p><a href="#index">Table Of Contents</a></p>
|
||||
<h2 id="synopsis">SYNOPSIS</h2>
|
||||
@@ -22,14 +22,14 @@ Updated: 18 November 2018
|
||||
<p>Minimum unique abbreviation of an option is acceptable. You can use a
|
||||
single hyphen instead of double hyphens to denote options. You can use white
|
||||
space in place of the equals sign to separate an option name from its
|
||||
-value.
|
||||
+value.</p>
|
||||
|
||||
|
||||
<h2 id="description">DESCRIPTION</h2>
|
||||
-<p>This file is part of <a href="index.html">Netpbm</a>.
|
||||
+<p>This file is part of <a href="index.html">Netpbm</a>.</p>
|
||||
|
||||
<p><b>pammixmulti</b> mixes two or more images to produce a new image. The
|
||||
-program provides multiple ways to interpret "mix."
|
||||
+program provides multiple ways to interpret "mix."</p>
|
||||
|
||||
|
||||
<h2 id="options">OPTIONS</h2>
|
||||
@@ -37,7 +37,7 @@ program provides multiple ways to interp
|
||||
<p>In addition to the options common to all programs based on libnetpbm
|
||||
(most notably <b>-quiet</b>, see <a href="index.html#commonoptions">
|
||||
Common Options</a>), <b>pammixmulti</b> recognizes the following
|
||||
-command line options:
|
||||
+command line options:</p>
|
||||
|
||||
<dl compact>
|
||||
<dt><b>--blend</b>=average|random|mask</dt>
|
||||
@@ -50,7 +50,7 @@ output is produced by selecting the corr
|
||||
images, chosen at random on a per-pixel basis. With
|
||||
<b>--blend</b>=<code>mask</code>, each pixel in the output is produced by a
|
||||
weighted average of the corresponding pixels from all the input images based
|
||||
-on the grayscale level of an additional mask image.
|
||||
+on the grayscale level of an additional mask image.</p>
|
||||
</dd>
|
||||
|
||||
<dt><b>--maskfile</b>=<i>filename</i></dt>
|
||||
@@ -60,7 +60,7 @@ grayscale mask file to control the blend
|
||||
not grayscale, the first channel is treated as gray). Where the mask file is
|
||||
black, the first image is selected. Where the mask file is white, the last
|
||||
image is selected. Intermediate levels of gray select intermediate
|
||||
-images.
|
||||
+images.</p>
|
||||
</dd>
|
||||
|
||||
<dt><b>--stdev</b>=<i>number</i></dt>
|
||||
@@ -77,7 +77,7 @@ that includes roughly equal amounts of t
|
||||
and 2 but less of the corresponding pixel from image 3. As <i>number</i>
|
||||
tends towards the number of input images (going beyond that has diminishing
|
||||
impact), the output tends to look more
|
||||
-like <b>--blend</b>=average. <i>number</i> defaults to 0.25.
|
||||
+like <b>--blend</b>=average. <i>number</i> defaults to 0.25.</p>
|
||||
</dd>
|
||||
|
||||
<dt><b>--randomseed</b> <i>integer</i>
|
||||
@@ -85,45 +85,45 @@ like <b>--blend</b>=average. <i>number</
|
||||
<dd>This is the seed for the random number generator used with
|
||||
<b>--blend=random</b>
|
||||
|
||||
-<p>Use this to ensure you get the same image on separate invocations.
|
||||
+<p>Use this to ensure you get the same image on separate invocations.</p>
|
||||
|
||||
</dl>
|
||||
|
||||
<h2 id="arguments">ARGUMENTS</h2>
|
||||
|
||||
-<p>You supply the names of the files to mix as non-option arguments.
|
||||
+<p>You supply the names of the files to mix as non-option arguments.</p>
|
||||
|
||||
|
||||
<h2 id="examples">EXAMPLES</h2>
|
||||
|
||||
-<p>Average a bunch of PPM images to produce a new PAM image:
|
||||
+<p>Average a bunch of PPM images to produce a new PAM image:</p>
|
||||
<pre><code>
|
||||
pammixmulti input*.ppm >output.ppm
|
||||
</code></pre>
|
||||
|
||||
<p>Mix these same images by taking each pixel from a randomly selected input
|
||||
-image:
|
||||
+image:</p>
|
||||
|
||||
<pre><code>
|
||||
pammixmulti --blend=random input*.ppm >output.ppm
|
||||
</code></pre>
|
||||
|
||||
<p>Use a mask image to control the fading among input images on a
|
||||
-pixel-by-pixel basis:
|
||||
+pixel-by-pixel basis:</p>
|
||||
|
||||
<pre><code>
|
||||
pammixmulti --blend=mask --maskfile=mask.pgm >output.pam \
|
||||
one.pam two.pam three.pam four.pam
|
||||
</code></pre>
|
||||
|
||||
-<p>Do the same but with more abrupt transitions:
|
||||
+<p>Do the same but with more abrupt transitions:</p>
|
||||
|
||||
<pre><code>
|
||||
pammixmulti --blend=mask --maskfile=mask.pgm --stdev=0.0 >output.pam \
|
||||
one.pam two.pam three.pam four.pam
|
||||
</code></pre>
|
||||
|
||||
-<p>and now with more gradual transitions:
|
||||
+<p>and now with more gradual transitions:</p>
|
||||
|
||||
<pre><code>
|
||||
pammixmulti --blend=mask --maskfile=mask.pgm --stdev=1.0 >output.pam \
|
||||
@@ -133,12 +133,12 @@ pixel-by-pixel basis:
|
||||
|
||||
<h2 id="history">HISTORY</h2>
|
||||
|
||||
-<p><b>pammixmulti</b> was new in Netpbm 10.85 (December 2018).
|
||||
+<p><b>pammixmulti</b> was new in Netpbm 10.85 (December 2018).</p>
|
||||
|
||||
|
||||
<h2 id="author">AUTHOR</h2>
|
||||
|
||||
-<p>Copyright 2018 Scott Pakin, scott+pbm@pakin.org.
|
||||
+<p>Copyright 2018 Scott Pakin, scott+pbm@pakin.org.</p>
|
||||
|
||||
<h2 id="seealso">SEE ALSO</h2>
|
||||
|
||||
@@ -146,20 +146,20 @@ pixel-by-pixel basis:
|
||||
<a href="ppmmix.html">ppmmix</a>,
|
||||
<a href="pamarith.html">pamarith</a>,
|
||||
<a href="pnm.html">pnm</a>,
|
||||
-<a href="pam.html">pam</a>
|
||||
+<a href="pam.html">pam</a></p>
|
||||
|
||||
|
||||
<h2 id="name">NAME</h2>
|
||||
diff -urNp old/userguide/pamtoavs.html new/userguide/pamtoavs.html
|
||||
--- old/userguide/pamtoavs.html 2017-09-05 13:58:08.329559583 +0200
|
||||
+++ new/userguide/pamtoavs.html 2017-09-05 14:05:49.299863901 +0200
|
||||
@@ -1,5 +1,5 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
||||
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
||||
+<html>
|
||||
<head>
|
||||
<title>Pamtoavs User Manual</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=us-ascii" />
|
||||
diff -urNp old/userguide/pamtooctaveimg.html new/userguide/pamtooctaveimg.html
|
||||
--- old/userguide/pamtooctaveimg.html 2017-09-05 13:58:08.335559561 +0200
|
||||
+++ new/userguide/pamtooctaveimg.html 2017-09-05 14:06:21.825752356 +0200
|
||||
@@ -1,8 +1,7 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
||||
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
||||
+<html>
|
||||
<head>
|
||||
<title>Pamtooctaveimg User Manual</title>
|
||||
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
</head>
|
||||
<h2 id="index">Table Of Contents</h2>
|
||||
|
||||
<ul>
|
||||
-<li><a href="#synopsis">SYNOPSIS</a>
|
||||
-<li><a href="#description">DESCRIPTION</a>
|
||||
-<li><a href="#options">OPTIONS</a>
|
||||
-<li><a href="#arguments">ARGUMENTS</a>
|
||||
-<li><a href="#examples">EXAMPLES</a>
|
||||
-<li><a href="#history">HISTORY</a>
|
||||
-<li><a href="#author">AUTHOR</a>
|
||||
-<li><a href="#seealso">SEE ALSO</a>
|
||||
+<li><a href="#synopsis">SYNOPSIS</a></li>
|
||||
+<li><a href="#description">DESCRIPTION</a></li>
|
||||
+<li><a href="#options">OPTIONS</a></li>
|
||||
+<li><a href="#arguments">ARGUMENTS</a></li>
|
||||
+<li><a href="#examples">EXAMPLES</a></li>
|
||||
+<li><a href="#history">HISTORY</a></li>
|
||||
+<li><a href="#author">AUTHOR</a></li>
|
||||
+<li><a href="#seealso">SEE ALSO</a></li>
|
||||
</ul>
|
||||
|
||||
</body>
|
||||
diff -urNp a/userguide/pampaintspill.html b/userguide/pampaintspill.html
|
||||
--- a/userguide/pampaintspill.html 2021-06-02 12:56:59.575286342 +0200
|
||||
+++ b/userguide/pampaintspill.html 2021-06-02 15:06:31.354767352 +0200
|
||||
@@ -2,12 +2,12 @@
|
||||
<html><head><title>Pampaintspill User Manual</title></head>
|
||||
<body>
|
||||
diff -urNp old/userguide/pnmflip.html new/userguide/pnmflip.html
|
||||
--- old/userguide/pnmflip.html 2017-09-05 13:58:08.336559557 +0200
|
||||
+++ new/userguide/pnmflip.html 2017-09-05 14:07:15.065963977 +0200
|
||||
@@ -4,9 +4,11 @@
|
||||
<BODY>
|
||||
<H1>pnmflip</H1>
|
||||
<BR>
|
||||
+<H2>NAME</H2>
|
||||
<p><b>pnmflip</b> was replaced in Netpbm 10.13 (December 2002) by
|
||||
<b><a href="pamflip.html">pamflip</a></b>.
|
||||
|
||||
+<H2>DESCRIPTION</H2>
|
||||
<P><B>pamflip</b> is mostly backward compatible with <b>pnmflip</b>,
|
||||
but works on PAM images too.
|
||||
|
||||
diff -urNp old/userguide/pnmmercator.html new/userguide/pnmmercator.html
|
||||
--- old/userguide/pnmmercator.html 2017-09-05 13:58:08.334559565 +0200
|
||||
+++ new/userguide/pnmmercator.html 2017-09-05 14:08:08.305214742 +0200
|
||||
@@ -1,7 +1,6 @@
|
||||
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
||||
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
||||
<html>
|
||||
<head>
|
||||
-<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
|
||||
<title>PnmMercator User Manual</title>
|
||||
</head>
|
||||
<h1>pampaintspill</h1>
|
||||
-Updated: 06 March 2021
|
||||
+<p>Updated: 06 March 2021
|
||||
<br>
|
||||
-<a href="#index">Table Of Contents</a>
|
||||
+<a href="#index">Table Of Contents</a></p>
|
||||
|
||||
<h2>NAME</h2>
|
||||
-pampaintspill - smoothly spill colors into the background
|
||||
+<p>pampaintspill - smoothly spill colors into the background</p>
|
||||
|
||||
<h2 id="synopsis">SYNOPSIS</h2>
|
||||
|
||||
@@ -17,17 +17,17 @@ pampaintspill - smoothly spill colors in
|
||||
[<b>--wrap</b>] [<b>--all</b>]
|
||||
[<b>--downsample</b>=<i>number</i>]
|
||||
[<b>--power</b>=<i>number</i>] [<i>filename</i>]
|
||||
-[<b>-randomseed=</b><i>integer</i>]
|
||||
+[<b>-randomseed=</b><i>integer</i>]</p>
|
||||
|
||||
|
||||
<p>Minimum unique abbreviations of option are acceptable. You may use
|
||||
double hyphens instead of single hyphen to denote options. You may use
|
||||
white space in place of the equals sign to separate an option name
|
||||
-from its value.
|
||||
+from its value.</p>
|
||||
|
||||
<h2 id="description">DESCRIPTION</h2>
|
||||
|
||||
-<p>This program is part of <a href="index.html">Netpbm</a>.
|
||||
+<p>This program is part of <a href="index.html">Netpbm</a>.</p>
|
||||
|
||||
<p><b>pampaintspill</b> produces a smooth color gradient from all of the
|
||||
non-background-colored pixels in an input image, effectively "spilling
|
||||
@@ -38,27 +38,27 @@ paint" onto the background. <b>pampaint
|
||||
<li><b>pampaintspill</b> accepts any number of paint
|
||||
sources (non-background-colored pixels), which can lie anywhere
|
||||
on the canvas. <b>pamgradient</b> accepts exactly
|
||||
- four paint sources, one in each corner of the image.
|
||||
+ four paint sources, one in each corner of the image.</li>
|
||||
|
||||
<li><b>pampaintspill</b> requires an input image while
|
||||
<b>pamgradient</b> generates a new image from
|
||||
- scratch.
|
||||
+ scratch.</li>
|
||||
|
||||
<li><b>pampaintspill</b> can produce tileable output and
|
||||
can control how tightly the gradient colors bind to their source
|
||||
- pixels.
|
||||
+ pixels.</li>
|
||||
</ul>
|
||||
|
||||
<p>Results are generally best when the input image contains just a few, crisp
|
||||
spots of color. Use your drawing program's pencil tool — as opposed to a
|
||||
-paintbrush or airbrush tool — with a small nib.
|
||||
+paintbrush or airbrush tool — with a small nib.</p>
|
||||
|
||||
<h2 id="options">OPTIONS</h2>
|
||||
|
||||
<p>In addition to the options common to all programs based on libnetpbm
|
||||
(most notably <b>-quiet</b>, see <a href="index.html#commonoptions">
|
||||
Common Options</a>), <b>pampaintspill</b> recognizes the following
|
||||
-command line options:
|
||||
+command line options:</p>
|
||||
|
||||
<dl>
|
||||
<dt><b>--bgcolor</b>=<i>color</i></dt>
|
||||
@@ -107,42 +107,42 @@ command line options:
|
||||
<dd>This is the seed for the random number generator that generates the
|
||||
pixels.
|
||||
|
||||
- <p>Use this to ensure you get the same image on separate invocations.
|
||||
+ <p>Use this to ensure you get the same image on separate invocations.</p>
|
||||
|
||||
- <p>This option was new in Netpbm 10.94 (March 2021).
|
||||
+ <p>This option was new in Netpbm 10.94 (March 2021).</p>
|
||||
</dl>
|
||||
|
||||
|
||||
<h2 id="seealso">SEE ALSO</h2>
|
||||
|
||||
<ul>
|
||||
-<li><a href="pamgradient.html"><b>pamgradient</b></a>
|
||||
-<li><a href="ppmmake.html"><b>ppmmake</b></a>,
|
||||
-<li><a href="ppmrainbow.html"><b>ppmrainbow</b></a>,
|
||||
-<li><a href="pgmramp.html"><b>pgmramp</b></a>,
|
||||
-<li><a href="ppmpat.html"><b>ppmpat</b></a>,
|
||||
-<li><a href="pam.html"><b>pam</b></a>
|
||||
+<li><a href="pamgradient.html"><b>pamgradient</b></a></li>
|
||||
+<li><a href="ppmmake.html"><b>ppmmake</b></a>,</li>
|
||||
+<li><a href="ppmrainbow.html"><b>ppmrainbow</b></a>,</li>
|
||||
+<li><a href="pgmramp.html"><b>pgmramp</b></a>,</li>
|
||||
+<li><a href="ppmpat.html"><b>ppmpat</b></a>,</li>
|
||||
+<li><a href="pam.html"><b>pam</b></a></li>
|
||||
</ul>
|
||||
|
||||
<h2 id="history">HISTORY</h2>
|
||||
|
||||
-<p><b>pampaintspill</b> was new in Netpbm 10.50 (March 2010).
|
||||
+<p><b>pampaintspill</b> was new in Netpbm 10.50 (March 2010).</p>
|
||||
|
||||
|
||||
<h2 id="copyright">COPYRIGHT</h2>
|
||||
|
||||
<p>Copyright © 2010 Scott Pakin,
|
||||
-<a href="mailto:scott+pbm@pakin.org"><i>scott+pbm@pakin.org</i></a>.
|
||||
+<a href="mailto:scott+pbm@pakin.org"><i>scott+pbm@pakin.org</i></a>.</p>
|
||||
|
||||
<h2 id="index">Table Of Contents</h2>
|
||||
|
||||
<ul>
|
||||
-<li><a href="#synopsis">SYNOPSIS</a>
|
||||
-<li><a href="#description">DESCRIPTION</a>
|
||||
-<li><a href="#options">OPTIONS</a>
|
||||
-<li><a href="#seealso">SEE ALSO</a>
|
||||
-<li><a href="#history">HISTORY</a>
|
||||
-<li><a href="#copyright">COPYRIGHT</a>
|
||||
+<li><a href="#synopsis">SYNOPSIS</a></li>
|
||||
+<li><a href="#description">DESCRIPTION</a></li>
|
||||
+<li><a href="#options">OPTIONS</a></li>
|
||||
+<li><a href="#seealso">SEE ALSO</a></li>
|
||||
+<li><a href="#history">HISTORY</a></li>
|
||||
+<li><a href="#copyright">COPYRIGHT</a></li>
|
||||
</ul>
|
||||
|
||||
</body>
|
||||
diff -urNp a/userguide/pamrecolor.html b/userguide/pamrecolor.html
|
||||
--- a/userguide/pamrecolor.html 2021-06-02 12:56:59.574286333 +0200
|
||||
+++ b/userguide/pamrecolor.html 2021-06-02 15:09:53.837724488 +0200
|
||||
@@ -2,9 +2,9 @@
|
||||
<html><head><title>Pamrecolor User Manual</title></head>
|
||||
<body>
|
||||
diff -urNp old/userguide/ppmtogif.html new/userguide/ppmtogif.html
|
||||
--- old/userguide/ppmtogif.html 2017-09-05 13:58:08.337559553 +0200
|
||||
+++ new/userguide/ppmtogif.html 2017-09-05 14:09:51.450583126 +0200
|
||||
@@ -4,11 +4,14 @@
|
||||
<BODY>
|
||||
<H1>ppmtogif</H1>
|
||||
<BR>
|
||||
+<H2>NAME</H2>
|
||||
<h1>pamrecolor</h1>
|
||||
-Updated: 31 July 2010
|
||||
+<p>Updated: 31 July 2010
|
||||
<br>
|
||||
-<a href="#index">Table Of Contents</a>
|
||||
+<a href="#index">Table Of Contents</a></p>
|
||||
|
||||
<h2>NAME</h2>
|
||||
pamrecolor - alter colors without affecting luminance
|
||||
@@ -22,15 +22,15 @@ pamrecolor - alter colors without affect
|
||||
[<b>-randomseed=</b><i>integer</i>]
|
||||
|
||||
[<i>infile</i>]
|
||||
-
|
||||
+</p>
|
||||
|
||||
<p>Minimum unique abbreviation of option is acceptable. You may use double
|
||||
hyphens instead of single hyphen to denote options. You may use white
|
||||
-space in place of the equals sign to separate an option name from its value.
|
||||
+space in place of the equals sign to separate an option name from its value.</p>
|
||||
|
||||
<h2 id="description">DESCRIPTION</h2>
|
||||
|
||||
-<p>This program is part of <a href="index.html">Netpbm</a>.
|
||||
+<p>This program is part of <a href="index.html">Netpbm</a>.</p>
|
||||
|
||||
<p><b>pamrecolor</b> changes an image's colors to be as close as
|
||||
possible to given target colors but with the constraint that the
|
||||
@@ -39,17 +39,17 @@ image will look identical if both are co
|
||||
(e.g. with
|
||||
<a href="ppmtopgm.html">ppmtopgm</a>). You can have <b>pamrecolor</b> select
|
||||
target colors randomly, specify a single hue for the entire image, or take the
|
||||
-target colors from a target image.
|
||||
+target colors from a target image.</p>
|
||||
|
||||
<p>In addition to real Netpbm images, <b>pamrecolor</b> works on pseudo-Netpbm
|
||||
images based on arbitrary color spaces. You can define the color space
|
||||
-explicitly or choose one of many that <b>pamrecolor</b> knows by name.
|
||||
+explicitly or choose one of many that <b>pamrecolor</b> knows by name.</p>
|
||||
|
||||
<p>The output is a PAM image on standard output. Options control the
|
||||
exact format of the PAM. If you want a PNM (PBM, PGM, or PPM) image,
|
||||
use <a href="pamtopnm.html">pamtopnm</a> on the output. There is no
|
||||
need to convert if you will use the image as input to a current Netpbm
|
||||
-program, but many other programs don't know what a PAM is.
|
||||
+program, but many other programs don't know what a PAM is.</p>
|
||||
|
||||
|
||||
<h2 id="options">OPTIONS</h2>
|
||||
@@ -57,7 +57,7 @@ program, but many other programs don't k
|
||||
<p>In addition to the options common to all programs based on libnetpbm
|
||||
(most notably <b>-quiet</b>, see <a href="index.html#commonoptions">
|
||||
Common Options</a>), <b>pamrecolor</b> recognizes the following
|
||||
-command line options:
|
||||
+command line options:</p>
|
||||
|
||||
<dl>
|
||||
|
||||
@@ -76,9 +76,9 @@ the raster have different meaning. Many
|
||||
images actually use a variation with a different color space. For example,
|
||||
<a href="http://www.gimp.org/">GIMP</a> uses sRGB internally and if you
|
||||
have GIMP generate a Netpbm image file, it really generates a variation of
|
||||
-the format that uses sRGB.
|
||||
+the format that uses sRGB.</p>
|
||||
|
||||
-<p><b>pamrecolor</b> knows the following color spaces (<i>name</i> values):
|
||||
+<p><b>pamrecolor</b> knows the following color spaces (<i>name</i> values):</p>
|
||||
|
||||
<dl>
|
||||
<dt>adobe</dt>
|
||||
@@ -109,7 +109,7 @@ the format that uses sRGB.
|
||||
<p>The default is "ntsc" because this is the color space that the Netpbm
|
||||
formats and many graphics utilities use. As a counterexample,
|
||||
<a href="http://www.gimp.org/">GIMP</a> uses sRGB as its native color
|
||||
-space.
|
||||
+space.</p>
|
||||
|
||||
<p>The luminance values <b>pamrecolor</b> uses for each of the above come from
|
||||
Bruce Lindbloom's
|
||||
diff -urNp a/userguide/pbmtog3.html b/userguide/pbmtog3.html
|
||||
--- a/userguide/pbmtog3.html 2021-06-02 12:56:59.585286434 +0200
|
||||
+++ b/userguide/pbmtog3.html 2021-06-02 14:44:07.715692749 +0200
|
||||
@@ -36,7 +36,7 @@ use those encodings.
|
||||
<p>In addition to the options common to all programs based on libnetpbm
|
||||
(most notably <b>-quiet</b>, see <a href="index.html#commonoptions">
|
||||
Common Options</a>), <b>pbmtog3</b> recognizes the following
|
||||
-command line options:
|
||||
+command line options:</p>
|
||||
|
||||
<dl>
|
||||
<dt><b>-reversebits</b>
|
||||
@@ -80,7 +80,7 @@ You cannot specify both.
|
||||
<h2 id="history">HISTORY</h2>
|
||||
|
||||
<p>Before Netpbm 10.79 (June 2017), there was a different program by the same
|
||||
-name in Netpbm, which was written by by Paul Haeberli
|
||||
+name in Netpbm, which was written by Paul Haeberli
|
||||
<<a href="mailto:paul@manray.sgi.com">paul@manray.sgi.com</a>> in 1989
|
||||
and then modified extensively by others.
|
||||
|
||||
diff -urNp a/userguide/ppmtogif.html b/userguide/ppmtogif.html
|
||||
--- a/userguide/ppmtogif.html 2021-06-02 12:56:59.574286333 +0200
|
||||
+++ b/userguide/ppmtogif.html 2021-06-02 15:48:19.167930575 +0200
|
||||
@@ -5,17 +5,17 @@
|
||||
|
||||
<h2>NAME</h2>
|
||||
|
||||
-ppmtogif - replaced by pamtogif
|
||||
-
|
||||
-<h2>DESCRIPTION</h2>
|
||||
+<p>ppmtogif - replaced by pamtogif</p>
|
||||
|
||||
<p>This program is part of <a href="index.html">Netpbm</a>.
|
||||
|
||||
+<h2>SYNOPSIS</h2>
|
||||
<p><b>ppmtogif</b> was replaced in Netpbm 10.37 (December 2006) by
|
||||
<b><a href="pamtogif.html">pamtogif</a></b>.
|
||||
|
||||
+<H2>SYNOPSIS</H2>
|
||||
<P><B>pamtogif</b> is mostly backward compatible with <b>ppmtogif</b>.
|
||||
<p><b>pamtogif</b> is mostly backward compatible with <b>ppmtogif</b>.
|
||||
|
||||
+<H2>DESCRIPTION</H2>
|
||||
<P>One way <b>pamtogif</b> is not backward compatible with <b>ppmtogif</b>
|
||||
+<h2>DESCRIPTION</h2>
|
||||
<p>One way <b>pamtogif</b> is not backward compatible with <b>ppmtogif</b>
|
||||
is that to specify a transparency (alpha) mask with <b>ppmtogif</b>, you
|
||||
supply the transparency as a separate pseudo-PGM image and use the
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,13 +0,0 @@
|
||||
diff --git a/converter/ppm/Makefile b/converter/ppm/Makefile
|
||||
index b97349d..f68170f 100644
|
||||
--- a/converter/ppm/Makefile
|
||||
+++ b/converter/ppm/Makefile
|
||||
@@ -7,7 +7,7 @@ VPATH=.:$(SRCDIR)/$(SUBDIR)
|
||||
|
||||
include $(BUILDDIR)/config.mk
|
||||
|
||||
-SUBDIRS = hpcdtoppm ppmtompeg
|
||||
+SUBDIRS = hpcdtoppm
|
||||
|
||||
PORTBINARIES = 411toppm eyuvtoppm gouldtoppm ilbmtoppm imgtoppm \
|
||||
leaftoppm mtvtoppm neotoppm \
|
@ -0,0 +1,28 @@
|
||||
diff --git a/buildtools/makeman b/buildtools/makeman
|
||||
index 196dbd0..d73ab76 100755
|
||||
--- a/buildtools/makeman
|
||||
+++ b/buildtools/makeman
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/python
|
||||
+#!/usr/bin/python3
|
||||
#
|
||||
# makeman -- compile netpbm's stereotyped HTML to troff markup
|
||||
#
|
||||
diff --git a/buildtools/manpage.mk b/buildtools/manpage.mk
|
||||
index ef1a103..c1badb8 100644
|
||||
--- a/buildtools/manpage.mk
|
||||
+++ b/buildtools/manpage.mk
|
||||
@@ -126,11 +126,11 @@ reportman:
|
||||
# to standard error.
|
||||
%.1 %.3 %.5: $(USERGUIDE)/%.html
|
||||
@echo Converting $< to $@
|
||||
- @python $(MAKEMAN) -d $(USERGUIDE) $(<F)
|
||||
+ @python3 $(MAKEMAN) -d $(USERGUIDE) $(<F)
|
||||
|
||||
netpbm.1: $(USERGUIDE)/index.html
|
||||
@echo Converting $< to $@
|
||||
- @python $(MAKEMAN) -d $(USERGUIDE) index.html
|
||||
+ @python3 $(MAKEMAN) -d $(USERGUIDE) index.html
|
||||
@mv index.1 netpbm.1
|
||||
|
||||
# Generate man pages
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,19 @@
|
||||
diff -urNp a/converter/ppm/winicontoppm.c b/converter/ppm/winicontoppm.c
|
||||
--- a/converter/ppm/winicontoppm.c 2021-08-16 15:01:10.340119568 +0200
|
||||
+++ b/converter/ppm/winicontoppm.c 2021-08-16 15:02:02.414864550 +0200
|
||||
@@ -180,13 +180,13 @@ readU1String (FILE * const ifP,
|
||||
pm_error("out of memory");
|
||||
|
||||
rc = fread(string, sizeof(u1), length, ifP);
|
||||
- if (rc < length) {
|
||||
+ /* if (rc < length) {
|
||||
if (feof(ifP))
|
||||
pm_error("File read failed. Premature end of file");
|
||||
else
|
||||
pm_error("File read failed. Errno=%d (%s)",
|
||||
errno, strerror(errno));
|
||||
- }
|
||||
+ }*/
|
||||
|
||||
string[length] = 0;
|
||||
fileOffset += length * sizeof(u1);
|
Loading…
Reference in new issue