"Fossies" - the Fresh Open Source Software Archive

Member "netpbm-10.73.29/doc/HISTORY" (28 Sep 2019, 213701 Bytes) of package /linux/misc/netpbm-10.73.29.tgz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "HISTORY": 10.73.28_vs_10.73.29.

    1 See http://netpbm.sourceforge.net/history.html for a general history of
    2 Netpbm.
    3 
    4 CHANGE HISTORY 
    5 --------------
    6 
    7 19.09.28 BJH  Release 10.73.29
    8 
    9               jpeg2ktopam, pamtojpeg2k: fix negative array index.  Always
   10               broken (pamtojpeg2k was new in Netpbm 10.12 (November 2002)).
   11 
   12               jpeg2ktopam, pamtojpeg2k: fix assertion failure.  Always
   13               broken (pamtojpeg2k was new in Netpbm 10.12 (November 2002)).
   14 
   15               jpeg2ktopam: Fix memory leak after decoder failure.  Always
   16               broken (pamtojpeg2k was new in Netpbm 10.12 (November 2002)).
   17 
   18               jpeg2ktopam: fix null pointer dereference.  Always broken
   19               (pamtojpeg2k was new in Netpbm 10.12 (November 2002)).
   20 
   21               pnmtorle, rletopnm: fix wild pointer dereference when a memory
   22               allocation fails.
   23 
   24 19.06.28 BJH  Release 10.73.28
   25 
   26               pbmtozinc: fix wrong output on big-endian machines.  Broken in
   27               Netpbm 10.71 (June 2015).
   28 
   29 19.05.04 BJH  Release 10.73.27
   30 
   31               pnmtopng: Fix bug: Defaults to no filters.  Should be all
   32               filters.  Effect is larger PNG output.  Broken after Netpbm
   33               10.26 (January 2005) but no later than Netpbm 10.35 (August
   34               2006).
   35 
   36               pnmtopng: Fix bug: Doesn't allow multiple filter options.
   37               Broken after Netpbm 10.26 (January 2005) but no later than
   38               Netpbm 10.35 (August 2006).
   39 
   40 19.03.10 BJH  Release 10.73.26
   41 
   42               pstopnm: Fix bug: -textalphabits has no effect.  Always broken.
   43               (-textalphabits was new in Netpbm 10.53 (December 2010)).
   44 
   45               pamtopng: Fix sBit chunk, bit shift value for 1-, 2-, and 4-bit-
   46               per-sample images.  Always broken (Pamtopng was new in Netpbm
   47               10.71 (June 2015)).
   48 
   49               pamtopng: Fix buffer overrun.  Always broken (Pamtopng was new
   50               in Netpbm 10.71 (June 2015)).
   51 
   52 19.02.09 BJH  Release 10.73.25
   53 
   54               pnmtopng: fix bug: -interlace ignored.  Broken in 10.55
   55               (June 2011).
   56 
   57               pamstretch: Reject very large scale factors instead of producing
   58               incorrect output.
   59 
   60               ppmbrighten: Fix crash with -normalize when there is only one
   61               intensity in the image.  Always broken - Ppmbrighten was new in
   62               the first Netpbm release in 1991.
   63 
   64               ppmdraw: Fix bug: 'setlinetype nodiag' says invalid type.
   65               Always broken.  (Ppmdraw was new in Netpbm 10.29 (August 2005)).
   66 
   67 18.12.17 BJH  Release 10.73.24
   68 
   69               bmptopnm: Fix wrong output for non-colormapped OS2 BMP.  Broken
   70               in Netpbm 10.18 (September 2003).
   71 
   72 18.11.05 BJH  Release 10.73.23
   73 
   74               bmptopnm: Fix array bounds violation when index value in raster
   75               is too big.  Broken after Netpbm 10.10 (October 2002) but before
   76               10.19 (November 2003).
   77 
   78               Merge build: fix so legacy program names 'pnmtopnm', 'ppmnorm',
   79               and 'ppmtotga' work again.
   80 
   81 18.11.02 BJH  Release 10.73.22
   82 
   83               picttoppm: accept rectangle specifications in input that have
   84               the corners in any order, not just upper left, then lower right.
   85 
   86               libnetpbm: Fix invalid memory reference in color name processing
   87               when trivial memory allocation fails.
   88 
   89               pamtojpeg2k: fix incorrect interpretation of -ilyrrates option
   90               when it contains multiple delimiter characters in a row.  Always
   91               broken (pamtojpeg2k was new in Netpbm 10.12 (November 2002)).
   92 
   93               pamtojpeg2k: Fix incorrect metadata in output with GRAYSCALE PAM
   94               input.  Always broken (pamtojpeg2k was new in Netpbm 10.12
   95               (November 2002)).
   96 
   97               pnmtojbig: fix incorrect handling of -x option.  Always broken
   98               (pnmtojbig was new in Netpbm 9.2 (May 2000)).
   99 
  100 18.09.29 BJH  Release 10.73.21
  101 
  102               pstopnm: Fix divide-by-zero crash when Postscript input says
  103               the image has zero size.
  104 
  105               pstopnm: Fix divide-by-zero crash when computed resolution
  106               rounds down to zero dots per inch.
  107 
  108               pbmtext; libnetpbm BDF font processing: fix invalid memory
  109               reference when BDF font file has invalid syntax.  Broken
  110               in primordial Netpbm, ca 1993.
  111 
  112               pbmmask: Fix invalid memory reference with zero-dimension
  113               input image.  Broken in primordial Netpbm, ca 1989.
  114 
  115 18.06.27 BJH  Release 10.73.20
  116 
  117               Pngtopam: Fix bogus warning of non-square pixels when image does
  118               not contain pixel resolution information.  Introduced in Netpbm
  119               10.48 (September 2009)
  120 
  121 18.04.28 BJH  Release 10.73.19
  122 
  123               ilbmtoppm: Fix bug: may fail with bogus error message about an
  124               invalid CLUT chunk if image has a CLUT chunk.  Introduced after
  125               Netpbm 10.26 (January 2005) and at or before Netpbm 10.35
  126               (August 2006).
  127 
  128 18.02.17 BJH  Release 10.73.18
  129 
  130               g3topbm: Fix bug - produces invalid empty PBM image if input
  131               image is empty.
  132 
  133               mrftopbm: Fix bug - wrong error messages or output when input
  134               invalidly short.
  135 
  136 17.10.28 BJH  Release 10.73.17
  137 
  138               sldtoppm: -lib and -dir don't work - always says slide not
  139               found.  Broken in Netpbm 10.63 (June 2013).
  140 
  141               sldtoppm: fix bug: says AutoCAD slide file isn't an AutoCAD
  142               slide file.  Broken after Netpbm 10.26 (January 2005), but no
  143               later than 10.35 (August 2006).
  144 
  145               sldtoppm: fix bug: wild memory accesses, weird messages when
  146               invalid input file has unterminated strings.
  147               
  148 17.09.28 BJH  Release 10.73.16
  149 
  150               ppmbrighten: fix bug: red pixels change hue.  Introduced in
  151               after Netpbm 10.11 (October 2002) and before Netpbm 10.18
  152               (September 2003).
  153 
  154 17.09.13 BJH  Release 10.73.15
  155 
  156               palmtopnm: fix crash if invalid input contains color index that
  157               is not in the palette.  Always broken (palmtopnm was new in
  158               Netpbm 9.10 (October 2001)).
  159 
  160               pnmtopalm: fix incorrect output with certain input files and
  161               -packbits_compression.  Always broken.  -packbits_compression
  162               was new in Netpbm 10.27 (March 2005).
  163 
  164               pamtopdbimg: Fix incorrect output. Always broken (pamtopdbimg
  165               was new in Netpbm 10.52.00 (October 2010)).
  166 
  167 17.08.11 BJH  Release 10.73.14
  168 
  169               libnetpbm: font facilities: fix invalid memory reference with
  170               certain font files.
  171 
  172 17.06.30 BJH  Release 10.73.13
  173 
  174               ppmcolormask: fix incorrect output when input maxval is not 255.
  175               Always broken (ppmcolormask was new in Netpbm 9.0, April 2000).
  176 
  177 17.06.28 BJH  Release 10.73.12
  178 
  179               pamgauss: Fix skewed output with even dimension.  Always broken
  180               (Pamgauss was added in Netpbm 10.23 (July 2004).
  181 
  182               bmptopnm: fix crash when input is a Windows BMP with negative
  183               number for width.  Always broken.  (bmptopnm was new, as
  184               bmptoppm, in original Netpbm, 1992).
  185 
  186 17.05.27 BJH  Release 10.73.11
  187 
  188               pamcrater: fix incorrect output with non-square image.
  189               Introduced in Netpbm 10.69 (December 2014).
  190 
  191 17.04.30 BJH  Release 10.73.10
  192 
  193               libnetpbm: fix bug: pm_system_XXX closes Standard Input if you
  194               supply a Standard Output accepter but not a Standard Input
  195               feeder.  Broken since Netpbm 10.40 (September 2007).
  196 
  197               Windows: fix bug: pm_system_lp() and pm_system_vp() fail
  198               silently instead of with a clear error message in an environment
  199               that does not provide Unix process management.  Always broken.
  200               (pm_system_lp and pm_system_vp were new in Netpbm 10.40
  201               (September 2007), but wouldn't even compile until Netpbm 10.42
  202               (March 2008)).
  203 
  204               Build: don't try to build standardppmdfont.c if it already
  205               exists (so don't require ppmdcfont to exist).  Broken around
  206               Netpbm 10.35 (2006).
  207 
  208 17.04.15 BJH  Release 10.73.09
  209 
  210               pamcomp: fix incorrect output with -mixtransparency.
  211               Always broken.  (-mixtransparency was new in Netpbm 10.56,
  212               September 2011).
  213 
  214               pamcomp: remove debug trace message with -mixtransparency.
  215               Always broken.  (-mixtransparency was new in Netpbm 10.56,
  216               September 2011).
  217 
  218               pnmtojpeg: fix array bounds violation in argument list.  Always
  219               broken (pnmtojpeg was new to Netpbm in Netpbm 8.2 (March 2000).
  220 
  221 17.03.28 BJH  Release 10.73.08
  222 
  223               tifftonm: Fix incorrect PBM output with two-color paletted TIFF
  224               image.  Broken in primordial Netpbm, ca 1990.
  225 
  226               tifftopnmcmyk: Default rows per strip to the TIFF library
  227               default instead of whatever yields 8K strips.
  228 
  229               tifftopnmcmyk: Fix bug: fails with very wide images and no
  230               -rowsperstrip.  Always broken.  (Tifftopnmcmyk was new in Netpbm
  231               8.2 (March 2000).
  232 
  233               libnetpbm: ppmd_fill_path: remove debug trace.  Always broken
  234               (ppmd_fill_path was new in Netpbm 10.34 (June 2006).
  235 
  236 16.01.29 BJH  Release 10.73.07
  237 
  238               tifftopnm: Fix memory corruption when image is more pixels
  239               than can be represented as a C unsigned integer.  Broken in
  240               Netpbm 10.11 (October 2002).
  241 
  242               svgtopam: Fix crash when out of memory.  Always broken
  243               (svgtopam was new in Netpbm 10.33 (March 2006)).
  244 
  245 16.12.25 BJH  Release 10.73.06
  246 
  247               pbmtoascii: fix bogus assertion failure.  Introduced in 
  248               Netpbm 10.51 (June 2010) and visible only with a custom
  249               build with assertion checking.
  250 
  251 16.12.01 BJH  Release 10.73.05
  252 
  253               pnmpad: fix bug: incorrect output width.  Introduced in
  254               Netpbm 10.72 (July 2015).
  255 
  256 16.09.02 BJH  Release 10.73.05
  257 
  258               pnmquantall: Fix failure when temporary file location is
  259               not the same filesystem as the output file.
  260 
  261               pnmquantall: Fix incorrect handling of when the Pnmremap or
  262               the final rename fails.
  263 
  264 16.08.13 BJH  Release 10.73.04
  265 
  266               giftopnm: Fix bug: crash on little-endian computers that can't
  267               toleration unaligned memory access.  Thanks Ignatios Souvatzis
  268               (is@netbsd.org).  Broken in Netpbm 10.47 (June 2009).
  269 
  270 16.06.26 BJH  Release 10.73.03
  271 
  272               pamarith: fix incorrect output when maxvals differ, for
  273               -add, -multiply, -mean, -min, -max.  Broken in Netpbm 10.41
  274               (December 2007).
  275 
  276 16.06.12 BJH  Release 10.73.02
  277 
  278               pbmtextps: Abort with error instead of generating single space
  279               when user supplies no text.
  280 
  281               pbmtextps: Fix bug: input text or font name with Postscript
  282               control characters messes up the Postscript program.
  283 
  284 16.05.09 BJH  Release 10.73.01
  285 
  286               bmptopnm: fail properly with Version 4, 5 Windows BMP.
  287 
  288               ppmhist: fix incorrect color names.  Introduced in
  289               Netpbm 10.19 (November 2003).
  290 
  291               pnmpaste: fix possible invalid memory access.  Introduced in
  292               Netpbm 1.44 (September 2008).
  293 
  294               pbmreduce: fix undefined behavior when scale factor argument is
  295               too big.  Always present (pbmreduce was new in September 1989).
  296 
  297               cameratopam: fix invalid memory reference; effect unknown.
  298               Introduced in Netpbm 10.68 (September 2014).
  299 
  300               Install on Windows: fix backward compatibility symlinks for
  301               pnmtoplainpnm, pnmquantall.
  302 
  303 15.12.26 BJH  Release 10.73.00
  304 
  305               anytopnm: use --mime-type option instead of --mime on newer
  306               'file' program (on which --mime has a new meaning so that
  307               'anytopnm' cannot recognize some file types).
  308 
  309               anytopnm: recognize "Netpbm PAM" non-mime output from 'file'
  310               program as indicating PAM.
  311 
  312               pnmtops: fix bug: always thinks -level=N is -level=1.
  313               Introduced after Netpbm 10.26 (January 2005) but before 10.35
  314               (August 2006).  Manifests only with recent compilers.
  315 
  316               pnmpaste: fix bug with PBM: incorrect output.  Introduced in
  317               Netpbm 10.44 (September 2008).
  318 
  319               Build: fix undefined reference to parse_printf_format etc.  on
  320               system that doesn't have that facility.  Broken in Netpbm 10.69
  321               (December 2014).
  322 
  323               Build: fix superfluous error message when USER environment
  324               variable contains whitespace.  Broken since primordial Netpbm.
  325 
  326               Windows build: fix bug: make clean doesn't clean icon/netpbm.o.
  327               Broken since Netpbm 10.67 (June 2014).
  328 
  329               Test: improved pnmpaste test.
  330 
  331 15.09.26 BJH  Release 10.72.00
  332 
  333               Add pamunlookup .
  334 
  335               pamtopng: Implement -itxt .
  336 
  337               pamlookup: Add -byplane .
  338 
  339               pbmtoescp2: Add -stripeheight .
  340 
  341               phmtoescp2: Add -resolution .
  342 
  343               pbmtoescp2: Add -formfeed .
  344 
  345               pbmtoescp2: Add -raw .
  346 
  347               pbmtoescp2: Add -resolution=720 .
  348 
  349               pbmtoescp2: Pad output horizontally to a multiple of 8 columns
  350               and vertically to a whole stripe to prevent image loss.
  351 
  352               fitstopnm: Add message saying you're probably making a mistake
  353               if you have a 3-D image and don't specify -image.  The third
  354               dimension is almost always time in practice.
  355 
  356               fitstopnm: Fix -min and -max.  Broken in Netpbm 10.39 (June
  357               2007).
  358 
  359               pnmtopclxl: fix buffer overrun causing unpredictable behavior.
  360               (Introduced in Netpbm 10.54 (March 2011).
  361 
  362               pnmtopclxl: fix wild memory access when out of memory.  Always
  363               broken (Pnmtopclxl was new in Netpbm 10.6 (July 2002)).
  364 
  365               pnmtopclxl: fix wild memory access with pathologically large and
  366               uncompressible image.  Always broken (Pnmtopclxl was new in
  367               Netpbm 10.6 (July 2002)).
  368 
  369               pnmtopclxl: fix silent output corruption when a file write
  370               fails.  Always broken (Pnmtopclxl was new in Netpbm 10.6 (July
  371               2002)).
  372 
  373               escp2topbm: Fix -plain.  Always broken (escp2topbm was new in
  374               Netpbm 10.18 (September 2003)).
  375 
  376               pnmpad: Add -mheight, -mwidth.
  377 
  378               ppmtoilbm: Fix failure with -hamforce and -nocompression.
  379               Broken in Netpbm 9.12 (March 2001).
  380 
  381               makeman: fix Python syntax error.  Introduced in Netpbm 10.70
  382               (June 2015).
  383 
  384 15.06.28 BJH  Release 10.71.00
  385 
  386               Add pamtopng.  Thanks Willem vanSchaik (willem@schaik.com).
  387 
  388               pnmtopng: Add -srgbintent.
  389 
  390               pamstereogram: Add -xbegin.  Change default to render from
  391               center outwards intead of from right to left, thus making the
  392               center of the image the crispest part.  Thanks Scott Pakin
  393               (scott@pakin.org).
  394 
  395               pamstereogram: Allow -xshift and -yshift to be negative.  Thanks
  396               Scott Pakin (scott@pakin.org).
  397 
  398               pnmpsnr: Add -rgb.
  399 
  400               ppmtoicr: remove -rle option.  Actually, it never worked
  401               because of a bug.  Now it isn't expected to.  Ppmtoicr was
  402               new in 1991.
  403 
  404               pnmtopalm: Fix arithmetic overflow with ridiculously large
  405               image.  Introduced after Netpbm 10.26 (January 2005) but before
  406               Netpbm 10.35 (August 2006).
  407 
  408               palmtopnm: Fix distorted output with PackBits compressed input.
  409               Always broken (Ability to convert PackBits input was new in
  410               Netpbm 10.27 (March 2005).
  411 
  412               pbmtoepson: fix -protocol option - never works and sometimes
  413               crashes program.  Always broken (-protocol was new in Netpbm
  414               10.23 (July 2004).
  415 
  416               pbmtoppa: fix buffer overruns, double-free crashes.  Always
  417               broken (pbmtoppa was new in Netpbm 9.1 (March 2000).
  418 
  419               pbmtomatrixorbital: fix bug: fails if you specify the input
  420               file name argument.  Always broken.  (pbmtomatrixorbital was
  421               new in Netpbm 10.18 (Setpember 2003).
  422 
  423               sbigtopgm: fix detection of camera type.  Always broken
  424               (sbigtopgm was new in Netpbm 8.3 (March 2000)).
  425 
  426               sbigtopgm: fix recognition of compressed image.  Broken in
  427               Netpbm 10.70 (March 2015).
  428 
  429               pbmtogo: Fix bug: garbage first row.  Broken at least since
  430               November 1989.
  431 
  432               pbmtogo: Fix bug: buffer overrun with certain input.  Broken
  433               at least since November 1989.
  434 
  435               pbmtoescp2: Fix bug: overrun on certain input.  Always broken
  436               (pbmtoescp2 was new in Netpbm 10.18 (September 2003)).
  437 
  438               escp2topbm: Fix buffer overrun on certain input.  Always broken
  439               (escp2topbm was new in Netpbm 10.18 (September 2003)).
  440 
  441               libnetpbm: pm_stripeq: fix bug: wild pointer access when
  442               comparator is shorter than comparand.  Doesn't affect function,
  443               but could cause crash or privacy exposure.  Affects reading of a
  444               PAM file by any program.  Introduced in one of Netpbm 10.27
  445               (March 2005) through 10.35 (August 2006).
  446 
  447               pnmconvol: Fix bug: wrong output for pixels that convolve to
  448               negative values (should be clipped to zero).  Introduced in
  449               Netpbm 10.68 (September 2014).
  450 
  451               pbmtog3: Fix buffer overrun.  Introduced in Netpbm 10.23
  452               (July 2004).
  453 
  454               cameratopam: Fix arithmetic underflow in JPEG processing;
  455               unknown effect.
  456 
  457               pbmtoxbm: Fix bug: crash with zero width input.  Broken in
  458               Netpbm 10.37 (December 2006).
  459 
  460               sbigtopgm: fix buffer overrun with invalid input image.  Always
  461               present (sbigtopgm was new in Netpbm 8.3 (March 2000)).
  462 
  463               pnmtorle: Fix buffer overrun with long file name.  Always
  464               present.  (pnmtorle was new to Netpbm in Netpbm 9.0 (April
  465               2000)).
  466 
  467               pbmtopk: Fix buffer overrun with long file name.  Always
  468               present.  (pbmtopk was new in Netpbm 1 (March 1991)).
  469 
  470               pktopbm: Fix buffer overrun with long file name.  Always
  471               present.  (pbmtopk was new in Netpbm 1 (March 1991)).
  472 
  473               ppmtoyuvsplit: Fix buffer overrun with long file name.  Always
  474               present.  (New in Netpbm 1 (March 1991)).
  475 
  476               pbmtopi3: Fix bug: wrong output when input is higher or wider
  477               than 640 pixels.  Always broken (pbmtopi3 was new in September
  478               1991).
  479 
  480               st4topgm: Fix bug: with no argument, uses file named "'" instead
  481               of Standard Input.  Always present (st45topgm was new in Netpbm
  482               10.70 (March 2015).
  483 
  484               pbmtomgr: Fix incorrect output when input is too large (must be
  485               at most 4095 pixels high or wide).  Always broken.  (pbmtomgr
  486               was new in 1989).
  487 
  488               pbmtomacp: fix wild pointer dereference with -b larger than
  489               image height.  Always broken.  (pbmtomacp was new in X.V11R3
  490               (March 1988).
  491 
  492               ppmtorgb3: Fix buffer overflow with long input file name.
  493               Always present.  (ppmtorgb3 was new in X.V11R4 (November 1989).
  494 
  495               ppmtoarbtxt: fix bug: wrong output when high numbers represent
  496               darker.  Broken in Netpbm 10.69 (November 2014).
  497 
  498               ppmtoarbtxt: better rounding in sample values.
  499 
  500               libnetpbm: Remove bitio.h as an external interface.
  501 
  502               test: replace some GNU-only code with more portable code that
  503               works on OS X.  Thanks Ryan Schmidt <ryandesign@macports.org>.
  504 
  505               makeman: deal properly with backlash in source.  Thanks Willem
  506               van Schaik <willem@schaik.com>.  But something was wrong with
  507               this change and it caused the program always to fail, so
  508               we reversed this change in 10.72.
  509 
  510               Build: don't build and install libjbig and libjasper if we
  511               are using external versions of them instead.
  512 
  513               Build: various cross-compile fixes, especially for MinGW.
  514 
  515               Build: work around bug in GCC < 4.2 related to SSE2 builtins
  516               that causes compile of pamflip to fail.
  517 
  518               Build: fix 'make package' where config.mk sets a subdirectory
  519               other than 'man' for the manual.
  520 
  521               Build: improve pointer man page text.
  522 
  523 15.03.29 BJH  Release 10.70.00
  524 
  525               Add st4topgm, pgmtost4.
  526 
  527               Add pgmtosbig.  Mainly a test tool for sbigtopgm.
  528 
  529               Add yuy2topam.  Thanks Michael Haardt.
  530 
  531               tifftopnm: allow input file to be nonseekable.
  532               Thanks Ludolf Holzheid <ludolf.holzheid@gmx.de>.
  533 
  534               pnmhisteq: add -noblack and -nowhite.  Idea from Andrew Brooks
  535               <arb@sat.dundee.ac.uk>.
  536 
  537               pgmmorphconv: add -gradient.  Thanks Michael Haardt
  538               <michael@moria.de>.
  539 
  540               giftopnm: Fix bug: crashes if purported GIF has neither a global
  541               color map nor a local one.
  542 
  543               pgmmorphconv: fix bug: always produces PGM Plain format.  Always
  544               present (progam was added to Netpbm in Release 10.0 (June 2002)).
  545 
  546               pamtilt: fix bug: unconditional crash.  Broken in Netpbm 10.63
  547               (June 2013).
  548 
  549               pnmgamma -srgbtobt709, -bt709tosrgb: fix bug; incorrect output
  550               nearly always.  Always broken (These options were new in
  551               Netpbm 10.32 (February 2006)).
  552 
  553               pamtosvg: fix use of unset variable; probably results in a
  554               crash.  Always present (pamtosvg was new in Netpbm 10.33 (March
  555               2006)).
  556 
  557               cameratopam: fix bug: variable used before set; unknown impact.
  558               Introduced in Netpbm 10.66 (March 2014).
  559 
  560               On Windows, don't leave temporary files around (previous code
  561               did so because unlink of an open file fails in Windows; new
  562               code deletes temporary files via atexit).  Thanks
  563               Ludolf Holzheid <ludolf.holzheid@gmx.de>.
  564 
  565               Libnetpbm: fix external header file pm.h so it does not include
  566               internal header file pm_c_util.h.  Introduced in Netpbm
  567               10.69 (December 2014).
  568 
  569               build: fix incompatible type compilation error in giftopnm.
  570               Introduced in Netpbm 10.38 (March 2007) (but obviously manifests
  571               only in recent build environments).
  572 
  573               build: fix compile failure in wordint_access_be.h with Bigendian
  574               target platforms.  Introduced in Netpbm 10.63 (June 2013).
  575 
  576               build: fix compile failure in pbmtomacp, ppmtoacad, pgmabel:
  577               TRUE redefined.  Introduced in Netpbm 10.69 (December 2014).
  578 
  579 14.12.25 BJH  Release 10.69.00
  580 
  581               pnmnorm: add -bsingle, -wsingle.
  582 
  583               ppmtoarbtxt: Do some validation of format strings.  Thanks
  584               Akira F Urushibata <afu@wta.att.ne.jp>.
  585 
  586               pamcrater: Add -verbose.
  587 
  588               ppmtoarbtxt: Fail if a #() escape sequence runs off end of
  589               file or is too long to process; before, the program would
  590               treat the text from # to EOF or where the buffer filled up
  591               as literal text, even ignoring any #() within.
  592 
  593               NetBSD: show actual numbers in messages instead of "f" or
  594               no information, by using NetBSD's vasprintf.
  595 
  596               Make %g in messages display the actual number instead of "g" in
  597               messages where platform doesn't have vasprintf.  (But scores of
  598               %f are still left).
  599 
  600               anytopnm: convert all images in a multi-image GIF instead of
  601               just the first.
  602               
  603               Improve "bad magic number" message from pbmXXX, and pgmXXX, and
  604               pnmXXX programs.
  605 
  606               Fix bogus message from ppmXXX programs when the input is not
  607               (per the magic number) a Netpbm image.  Introduced after
  608               Netpbm 10.26 (January 2005) but before Netpbm 10.35 (August
  609               2006).
  610 
  611               ppmtoarbtxt: Fix some undefined behavior when program limits
  612               are exceeded (i.e. buffer overruns).
  613 
  614               pambackground: fix bug: segfault or incorrect results in most
  615               cases.  Thanks Ludolf Holzheid (ludolf.holzheid@gmx.de).
  616               Introduced in Netpbm 10.37 (December 2006).
  617 
  618               Windows build: fix universal build failure with "No rule to make
  619               ...icon.netpbm.oLINKERISCOMPILER...".  Broken in Netpbm 10.67
  620               (June 2014).
  621 
  622 14.09.26 BJH  Release 10.68.00
  623 
  624               Split pgmcrater into pamcrater and pamshadedrelief.
  625 
  626               pnmconvol: add -bias .
  627 
  628               Remove pnmcomp, install a pnmcomp symlink for pamcomp.
  629 
  630               Fix incorrect option parsing when there are multiple common
  631               options (e.g. -plain -quiet).  Always broken.  (Possibility of
  632               specifying multiple common options that don't cause the program
  633               to ignore every other option (like -version) was new in Netpbm
  634               10.10 (October 2002).
  635 
  636               cameratopam: fix buffer overflow.  Always present.  (cameratopam
  637               was new in Netpbm 10.28 (June 2005)).
  638 
  639               cameratopam: fix incorrect output introduced in Netpbm 10.51
  640               (June 2010).
  641 
  642               ppmtopict: Fix unconditional crash.  Introduced in 
  643               Netpbm 10.52 (September 2010).
  644 
  645               pcdovtoppm: Fix crash due to invalid operator == on some
  646               systems.  Always broken (pcdovtoppm was new sometime between
  647               Netpbm 9.25 (March 2002) and Netpbm 10.11 (October 2002)).
  648 
  649               Build: change _XOPEN_SOURCE from 600 back to 500 in 7 files.  It
  650               was changed from 500 to 600 in Subversion revision 1731 in
  651               Netpbm 10.60 (September 2012) because that made a similar
  652               version of Netpbm compile on Mac OSX.  Without it, strdup did
  653               not get defined.  But this is apparently a bug in Mac OSX, since
  654               X/Open 500 does have strdup.  Furthermore, many other Netpbm
  655               files use strdup and apparently compile OK on Mac OSX without
  656               600.  Finally, we see today that Illumos system header files
  657               deliberately kill the compilation if the compiler is pre-C99 and
  658               _XOPEN_SOURCE is 600.  So we go back to 500 and if the problem
  659               on Mac OSX gets reported again, we will look more deeply.
  660 
  661               Build: change _XOPEN_SOURCE from 600 back to 500 in
  662               jpeg2ktopam.c and pamtojpeg2k.c.  It was changed from 500 to 600
  663               in Netpbm 10.41 (December 2007), reportedly to get int_fast32_t,
  664               etc. defined on AIX, but other files that use int_fast32_t
  665               don't have it today, so that must be wrong.  See above for the
  666               drawback of 600.
  667 
  668               Build: fix undefined symbols in fiasco converters with
  669               static libraries.
  670 
  671               Build: provide means of setting the default search path for
  672               rgb.txt color database via config.mk.
  673 
  674               Build: fix bug which prevents JBIG converters from building with
  675               internal JBIG library.  Introduced in 10.67.00.
  676 
  677               Build: fix bug which makes build of Ppmsvga fail (which is
  678               attempted only on a system with libvga).  Introduced in Netpbm
  679               10.63 (June 2013)
  680 
  681               Build: fix build failure in an environment that does not have
  682               __inline .  Introduced some time between Netpbm 10.26
  683               (January 2005) and Netpbm 10.35 (August 2006).
  684 
  685               Build: fix build failure on SCO OpenServer due to SIGURG not
  686               existing.  Broken in Netpbm 10.49 (December 2009).
  687 
  688               Build: Declare _XOPEN_SOURCE >= 500 in source files that use
  689               strdup.
  690 
  691               Build: fix compile failure due to use of reserved word
  692               'stdout'.
  693 
  694               Build with 'installosf': Fix crash due to invalid operator ==
  695               on some systems.
  696 
  697 14.06.29 BJH  Release 10.67.00
  698 
  699               sgitopnm: add ability to convert 2-channel SGI image.
  700               Thanks Akira F Urushibata <afu@wta.att.ne.jp>.
  701 
  702               sgitopnm: add ability to work with non-seekable input (e.g. a
  703               pipe).  Thanks Akira F Urushibata <afu@wta.att.ne.jp>.
  704 
  705               pamtotiff: add -output, use Standard Output normally (before, it
  706               had to be seekable.  Also, you could do an append operation to
  707               Standard Output; now you have to use -output for that).  Thanks
  708               Akira F Urushibata <afu@wta.att.ne.jp>.
  709 
  710               pamsharpness: put primary output on Standard Output instead of
  711               on Standard Error as a Netpbm message.
  712 
  713               pamflip: fix bug when built with WANT_SSE=n: column-for-row
  714               transformations of PBM produce garbage output.  Introduced in
  715               10.65 (December 2013).
  716 
  717               sgitopnm: fix bug: no output if input is RLE compressed.  Broken
  718               in Netpbm 10.53 (December 2010).  Thanks Akira F Urushibata
  719               <afu@wta.att.ne.jp>.
  720 
  721               jpegtopnm -dumpexif: fix incorrect display of resolution.
  722               Always broken.  (-dumpexif was new in Netpbm 9.18 September
  723               2001).
  724 
  725               jpegtopnm -dumpexif: fix truncated make, model, or datetime.
  726               Always broken.  (-dumpexif was new in Netpbm 9.18 September
  727               2001).
  728 
  729               jpegtopnm -dumpexif: fix wild pointer with invalid EXIF data.
  730               Always broken.  (-dumpexif was new in Netpbm 9.18 September
  731               2001).
  732 
  733               Windows build: include an icon in every executable.  The icon
  734               was designed by Ron Vantreese (ait_frog-netpbm@yahoo.com).
  735 
  736               Build: fix bug in which null value is not taken to mean
  737               "in the system search path" for JBIGHDR_DIR and JASPERHDR_DIR.
  738 
  739               Build: Fix inconsistent use of upper and lower case Y and N in 
  740               make variables, causing static library not to get built.
  741               Introduced in 10.66.
  742 
  743               Build: fix dependencies in .deb package so they work with
  744               Debian 6 at least.  Always broken (.deb capability was new in
  745               10.66).
  746 
  747 14.03.30 BJH  Release 10.66.00
  748 
  749               Add pamvalidate.  Thanks Akira F Urushibata <afu@wta.att.ne.jp>.
  750 
  751               Add pamfix: Does what pamfixtrunc did, plus repairs excessive
  752               sample values.
  753 
  754               pamfixtrunc: implement as call to new pamfix.
  755 
  756               pgmhist, ppmhist: Add -forensic: Analyze invalid >maxval pixels.
  757               Thanks Akira F Urushibata <afu@wta.att.ne.jp>.
  758 
  759               pgmramp: add -diagonal.  Thanks Akira F Urushibata
  760               <afu@wta.att.ne.jp>.
  761 
  762               libnetpbm: Read functions validate that sample values do not
  763               exceed maxval.  Thanks Akira F Urushibata <afu@wta.att.ne.jp>.
  764 
  765               libnetpbm: Validate image dimensions are small enough that you
  766               can allocate a row buffer.  Thanks Akira F Urushibata
  767               <afu@wta.att.ne.jp>.
  768 
  769               pgmhist: fix incorrect report of quantiles or crash due to array
  770               bounds violation in some builds.  Thanks Akira F Urushibata
  771               <afu@wta.att.ne.jp>.  Always broken.  Quantile reporting was
  772               new in Netpbm 10.61 (December 2012).
  773 
  774               pgmhist: fix buffer overrun with -median.  Always broken.
  775               -median was new in Netpbm 10.61 (December 2012).
  776 
  777               pnmmargin: fix for size 0 and superfluous "unexpected operator" 
  778               message with size != 0.  Introduced in 10.42.
  779 
  780               pstopnm: fix wrong interpretations of -xsize and -ysize when
  781               rendering image in landscape (rotated).  This can appear as
  782               stretching and squashing.  Probably always broken.
  783 
  784               pstopnm: fix wrong orientation sometimes when you specify
  785               both -xsize and -ysize.  Introduced in 10.65.
  786 
  787               pgmramp: fix bogus output with really large images.  Thanks
  788               Akira F Urushibata <afu@wta.att.ne.jp>.  Always broken.
  789 
  790               ppmrelief: fix out-of-bound values in output.  Always broken.
  791               ppmrelief was new in primordial Netpbm in 1989.
  792               Thanks Akira F Urushibata <afu@wta.att.ne.jp>.
  793 
  794               ppmrelief: fix crash when input image is too small.  Always
  795               broken.  ppmrelief was new in primordial Netpbm in 1989.  Thanks
  796               Akira F Urushibata <afu@wta.att.ne.jp>.
  797 
  798               pgmtexture: fix buffer overflow.  Always broken.  (Program
  799               was added in primordial Netpbm in 1991).
  800 
  801               pamdeinterlace: fix incorrect output with -takeodd and image has
  802               only one row.  Always broken (pamdeinterlace was introduced in
  803               Netpbm 9.21 (January 2001)).  Thanks Akira F Urushibata
  804               <afu@wta.att.ne.jp>.
  805 
  806               configure: warn if user says JPEG library is in the linker's
  807               default search path, but it isn't.
  808 
  809               build/install: add tools for creating a Debian package.
  810 
  811               make package: Include template for pkgconfig file.
  812 
  813               make package: Include a man/web directory with .url files for
  814               each manual page.
  815 
  816               test: Add -portrait to invocations of pstopnm in order to get
  817               proper round trips.
  818 
  819               Windows build: fix Ppmtompeg build failure in non-Cygwin build
  820               due to missing sys/utsname.h.
  821 
  822               Windows build: fix missing .exe on copies of programs under
  823               their old names.
  824 
  825 13.12.26 BJH  Release 10.65.00
  826 
  827               pamfunc: add -changemaxval.
  828 
  829               pgmkernel: add -maxval.
  830 
  831               Recognize SIGPWR on systems that have it in messages
  832               about signal received.
  833 
  834               pstopnm: More rational default for landscape/portrait choice.
  835               In particular, if the image or page is square, image will always
  836               be in portrait (not rotated).
  837 
  838               brushtopbm: check for read errors, extraneous data after apparent
  839               end of image.
  840 
  841               pnmtops: Fix spurious blank line in asciihex encoding of the
  842               image raster.  Probably harmless.  Introduced in 10.56
  843               (September 2011).
  844 
  845               pnmtops: Fix crash with 12 bits per sample.  Introduced in 10.53
  846               (December 2010).  Thanks Akira F Urushibata <afu@wta.att.ne.jp>.
  847 
  848               pnmtops: Fix bug: wrong output with -ascii85.  Introduced in
  849               10.63 (June 2013).
  850 
  851               pnmtops: Fix bug: wrong output with -rle.  Introduced in
  852               10.63 (June 2013).
  853 
  854               pnmtops: Fix bug: program hangs if it inherits lots of open
  855               files.  Introduced in 10.56 (September 2011).
  856 
  857               pnmtops: Fix bug: fails with message about waitpid() failing
  858               if invoked with SIGCHLD ignored.  Introduced in 10.56
  859               (September 2011).
  860 
  861               pbmtoepsi: fix handling of all-white image.  Always broken.
  862               Thanks Akira F Urushibata <afu@wta.att.ne.jp>.
  863 
  864               pbmtoepsi: fix excessively long raster line.  Always broken.
  865               Thanks Akira F Urushibata <afu@wta.att.ne.jp>.
  866 
  867               pnmshear: fix incorrect determination of background color.
  868               Always broken.
  869 
  870               ppmpat: fix crash with -squig with aspect ratio < 1:25 or
  871               > 25:1. Thanks Akira F Urushibata <afu@wta.att.ne.jp>.
  872               Always broken.
  873 
  874               pgmkernel: fix some pixels 1 less than they should be.
  875 
  876               pamgauss: Fix typo in message.
  877 
  878               Fix wild pointer dereference when memory allocation for a string
  879               fails.  Broken since 10.36 (September 2006).
  880 
  881               Build for big-endian machines: fix syntax error so it compiles.
  882               Introduced in 10.63 (June 2013).
  883 
  884               Fix compile failure on system such as OpenBSD that don't have
  885               SIGWINCH and SIGIO.  Broken since 10.49 (December 2009).
  886 
  887               Build: Use SSE2 vector instructions when compiling with Clang,
  888               as done already with GCC.
  889 
  890               Build: Use <emmintrin.h> interface for SSE intrinsics
  891               instead of GCC-specific versions.  Thanks Akira F Urushibata
  892               <afu@wta.att.ne.jp>.
  893 
  894               Build on system without vasprintf (not GNU libc): fix compiler
  895               warning.
  896 
  897               Apple build: use vasprintf.
  898 
  899 13.09.28 BJH  Release 10.64.00
  900 
  901               pngtopam: fix bug: ignores -gamma.  Introduced in 10.48
  902               (September 2009).
  903 
  904               libnetpbm, pnmpsnr, ppmcie on systems that don't use GNU C
  905               library: fix bogus printing of floating point numbers.
  906 
  907               test: fix ppmhist lack of sorting.
  908 
  909 13.06.29 BJH  Release 10.63.00
  910 
  911               Add pamtowinicon, winicontopam.  Thanks Ludolf Holzheid
  912               (lholzheid@bihl-wiedemann.de).
  913 
  914               pgmnoise: add -maxval, speed up.  Thanks Akira F Urushibata
  915               <afu@wta.att.ne.jp>.
  916 
  917               Perl programs: make them shell programs that reinvoke themselves
  918               as perl so we can get the Perl interpreter from the PATH.
  919 
  920               yuvtoppm: check for inconsistencies between specified
  921               width and height and size of input.
  922 
  923               411toppm: check for inconsistencies between specified
  924               width and height and size of input.
  925 
  926               Ignore -plain when program generates PAM.  Before, programs
  927               failed if the user specified -plain to a program that generates
  928               a PAM image.
  929 
  930               giftopnm: fix bug: erroneously claims GIF ends prematurely.
  931               Broken in Netpbm 10.38 (March 2007).  This affects all GIFs, but
  932               the problem does not manifest when Netpbm was built with Gcc
  933               from 2007 and later.
  934 
  935               pnmtops: Fix bug: only first image gets converted.  Broken in
  936               Netpbm 10.56 (September 2011).
  937 
  938               pnmtopng: fix bug: incorrect output when output should have
  939               an alpha mask.  Broken in Netpbm 10.55 (June 2011).  Thanks
  940               Ludolf Holzheid (lholzheid@bihl-wiedemann.de).
  941 
  942               pnmtopng: fix bug: output bigger than it needs to be when the
  943               input is a color format image that contains only gray.  Broken
  944               since at least Netpbm 10.26 (May 2001), but after 10.18
  945               (September 2003).  Thanks Ludolf Holzheid
  946               (lholzheid@bihl-wiedemann.de).
  947 
  948               pnmremap (ergo pnmquant): fix bug: incorrect output with
  949               -norandom and floyd-steinberg dithering.  Always broken.
  950               (-norandom was introduced in Netpbm 10.39 (June 2007)).
  951 
  952               pamtilt: fix bug: incorrect output or invalid memory access
  953               crash.  Always broken (program was new in Netpbm 10.30
  954               (October 2005)).
  955 
  956               pnmpsnr: fix bug: says types aren't the same when they are.
  957               Introduced in Netpbm 10.61 (December 2012).
  958               
  959               ppmtowinicon: fix bug: sometimes creates image truncated in the
  960               middle of the AND mask.  Always broken (program was new in
  961               Netpbm 9.3 (June 2000)).
  962 
  963               ppmtoxpm: fix bug: ignores inability to open the specified color
  964               dictionary file (-rgb) and just doesn't use color names.
  965               Introduced in Netpbm 10.15 (April 2003).
  966 
  967               libnetpbm: fix bug: ppm_freecolornames() has wild pointer
  968               dereference when the color name table was generated empty
  969               because the color dictionary file was not openable.  ppmtoxpm
  970               suffers from this.  Broken in 10.15 (April 2003).
  971 
  972               libnetpbm: fix bug: pnm_readpaminit and pnm_writepaminit set
  973               'opacity_plane' member of struct pam incorrectly.  No Netpbm
  974               programs are affected.  Always broken (member was added in
  975               Netpbm 10.56 (September 2011)).
  976 
  977               sparc64 pbmtog3: fix bug that causes crash due to unaligned
  978               memory access.
  979 
  980               ppmforge. fix crash when -mesh is 1 or less.  Always broken
  981               (program was added in Pbmplus (October 1991).  Thanks 
  982               Akira F Urushibata <afu@wta.att.ne.jp>.
  983 
  984               ppmforge: fix array bounds violation.  Always broken (program
  985               was added in Pbmplus (October 1991).  Thanks Akira F Urushibata
  986               <afu@wta.att.ne.jp>.
  987 
  988               install: fix Perl warning in installnetpbm.  Broken in 
  989               Netpbm 10.61.
  990 
  991               build: Use <stdbool.h> when available.
  992 
  993               build: fix problem with creating lib/util that already exists.
  994               Broken in Netpbm 10.62.
  995 
  996 13.03.28 BJH  Release 10.62.00
  997 
  998               pnmtorast: set don't care bytes to zero to make output
  999               repeatable.
 1000 
 1001               rasttopnm: add -dumpheader, dumpcolormap.
 1002 
 1003               pamstereogram: change -guidesize default from 10 to 20
 1004               (relevant since Netpbm 10.61).
 1005 
 1006               rasttopnm: fix bug: incorrect output due to used-before-set
 1007               variable.  Introduced in Netpbm 10.56 (September 2011).
 1008 
 1009               pamstereogram: fix bug: doesn't reject negative guidesize.
 1010               Broken since Netpbm 10.61.
 1011 
 1012               pamstereogram: fix bug: garbage in -verbose listing.  Broken
 1013               since Netpbm 10.61
 1014 
 1015               Windows MinGW build: various fixes.
 1016 
 1017 12.12.30 BJH  Release 10.61.00
 1018 
 1019               pgmhist: Add -machine option.
 1020 
 1021               pgmhist: Add -median, -quartile, and -decile options.
 1022 
 1023               pamstereogram: Add -guidetop and -guidebottom options to replace
 1024               trick where negative -guidesize means top, positive means
 1025               bottom, absent means none.
 1026 
 1027               pamtojpeg2k: default to no compression ratio constraint and
 1028               allow compression ratios less than 1.  Because of compression
 1029               metadata, small images do require loss of quality in order to
 1030               get down to a compression ratio of 1.
 1031 
 1032               pamstereogram: -smoothing smooths images even without -texfile.
 1033               Thanks Scott Pakin (scott@pakin.org).
 1034 
 1035               pnmcat: set don't care bits in packed PBM output to zero so
 1036               they are predictable.
 1037 
 1038               libpam, pamcomp: fix bug: treats tuple type GRAYSCALE_ALPHA like
 1039               GRAYSCALE on 32-bit machine.  Actually, looks only at first 4
 1040               characters (8 characters on machine with 64 bit addressess) of
 1041               the tuple type.  Broken since Netpbm 10.56 (September 2011).
 1042 
 1043               pngtopam -alphapam with grayscale input: fix bug: generates
 1044               invalid output: tuple type GRAYSCALE_ALPHA, but depth 1.  Depth
 1045               should be 2.  Always broken (pngtopam was created in 
 1046               Netpbm 10.44 (September 2008)).
 1047               
 1048               pamtotiff: fix bug: XRESOLUTION, YRESOLUTION, and RESOLUTIONUNIT
 1049               not allowed in -tags.  Broken at least since Netpbm 10.35.
 1050 
 1051               pnmpsnr: fix crash when invoked (invalidly) with only one
 1052               argument.  Always broken.
 1053 
 1054               leaftoppm: fix incorrect determination of whether input is
 1055               Interleaf on 64 bit systems.  Always broken.
 1056 
 1057               cmuwmtopbm: fix incorrect determination of whether input is
 1058               a CMU window manager bitmap on 64 bit systems.  Always broken.
 1059 
 1060               pnmmontage: fix totally wrong output.  Broken in Netpbm 10.44
 1061               (August 2008).
 1062 
 1063               pnmmontage: fix random stuff placed in unoccupied space in the
 1064               output image.  Always broken (program was new in Netpbm 9.10
 1065               (January 2001).
 1066 
 1067               pbmpscale, pgmhist, pampick, pamtompfont: fix wild pointer in
 1068               command line parsing.  Bug has always been there in pampick,
 1069               pamtompfont, since Netpbm 10.50 (March 2010) in pbmpscale, since
 1070               10.44 (September 2008) in pgmhist.
 1071 
 1072               xbmtopbm: fix incorrect output, memory leak.  Thanks Akira F
 1073               Urushibata <afu@wta.att.ne.jp>.
 1074 
 1075               sunicontopnm: Fix incorrect output for depth 8.  Always broken
 1076               (depth = 8 capability was added in Netpbm 10.53 (December 2010).
 1077 
 1078               pamgauss: Fix bug: erroneously says -maxval is too big on 64 bit
 1079               system.  Always broken (Pamgauss was added in Netpbm 10.23 (July
 1080               2004).
 1081 
 1082               ppmpat: Fix bug: wrong output with -poles.  Broken in Netpbm
 1083               10.47 (June 2009).
 1084 
 1085               Add tests.  Thanks Akira F Urushibata <afu@wta.att.ne.jp>.
 1086 
 1087 12.09.30 BJH  Release 10.60.00
 1088 
 1089               xpmtoppm: major speedup for 3-character-per pixel files,
 1090               memory reduction for all files: use hash table instead of
 1091               linear search or direct index, go row by row.
 1092 
 1093               xpmtoppm: fix bogus "color number too large" failure.  Broken
 1094               in Netpbm 10.49 (December 2009).
 1095 
 1096               pnm_hashtuple: slight performance improvement from new hash
 1097               function.  Thanks Akira F Urushibata <afu@wta.att.ne.jp>.
 1098 
 1099               ppmtospu: wild memory accesses.  Always broken (program added in
 1100               Netpbm 10.58 (March 2012).
 1101 
 1102               pamtosrf: fix storage corruption.  Always broken (program added
 1103               in Netpbm 10.55 (June 2011).
 1104 
 1105               Build: change _XOPEN_SOURCE 500 to 600 because on a Mac OSX
 1106               Netpbm 10.8 system, this is necessary to get 'strdup' into
 1107               <strings.h>.
 1108 
 1109               Build: rename getline() in xpmtoppm.c to avoid collision
 1110               with some libc.  Always broken.
 1111 
 1112               Build: Don't expect GCC facilities to exist when compiler is
 1113               Clang.  (Note that Clang identifies itself as GCC).
 1114 
 1115 12.06.28 BJH  Release 10.59.00
 1116 
 1117               pamtogif: Make data blocks 255 bytes instead of 254.  255 is
 1118               the maximum allowed by GIF.  254 was intended to not trigger
 1119               potential bugs in programs that read the file.
 1120 
 1121               ppmdraw: Add 'filledcircle' command class.  Thanks
 1122               Elijah Griffin <eli@panix.com>.
 1123 
 1124               pamstereogram: Add -planes .  Thanks Scott Pakin
 1125               (scott@pakin.org).
 1126 
 1127               pamstereogram: improve verbose output.  Thanks Scott Pakin
 1128               (scott@pakin.org).
 1129 
 1130               pamstereogram: fix crash introduced in Netpbm 10.54 (March 2011).
 1131 
 1132               pamstereogram: fix crash introduced in Netpbm 10.53 (December
 1133               2010).
 1134 
 1135               Build: fix bug: declines to build pnmtops.  Broken in Netpbm
 1136               10.58.
 1137 
 1138               Build: move -lm to end of -l's.  Broken at least since Netpbm
 1139               10.35.
 1140 
 1141 12.03.29 BJH  Release 10.58.00
 1142 
 1143               Add ppmtospu, 22 years late.
 1144 
 1145               pngtopam: fix incorrect output when PNG has 16 bits per pixel.
 1146               Broken in Netpbm 10.56.
 1147 
 1148               pgmtexture: fix integer overflow in difference variance.
 1149               Always broken.
 1150 
 1151               pgmtexture: fix array bounds violations in various calculations.
 1152               Always broken.
 1153 
 1154               xpmtoppm: Make it work on XPM with zero characters per pixel.
 1155 
 1156               pm_make_tmpfile_fd: fix improper handling when unable to get
 1157               memory to construct file name.
 1158 
 1159               ppmquantall: replace with pnmquantall and change from Bash
 1160               to Perl.
 1161 
 1162               Windows/Mingw: fix bug: temporary file creation fails
 1163               consistently.  Broken in Netpbm 10.34.
 1164 
 1165               Windows/Mingw: set binary mode on files.
 1166 
 1167               Windows: compute program name correctly.
 1168 
 1169               configure: work around Perl bug that causes 'configure' to
 1170               falsely conclude Svgalib is installed.
 1171 
 1172               Build: Use rand/srand instead of random/srandom because the
 1173               latter are not present in Mingw builds.
 1174 
 1175               Build: fix bug finding X libraries for merge buildl
 1176 
 1177               Build: redo conditional compilation of Windows to use
 1178               MSVCRT, based on _WIN32, instead of WIN32.
 1179 
 1180               Build, Windows: various fixes.
 1181 
 1182               Build: use Pkgconfig to find libxml2 if it works (fall back
 1183               to xml2-config).
 1184 
 1185 11.12.30 BJH  Release 10.57.00
 1186 
 1187               pnmnorm: add -midvalue, -middle .
 1188 
 1189               pngtopam: fix crash with invalid tIME chunk.  Always broken.
 1190 
 1191               pamarith: fix wrong result with -multiply.  Broken in Neptbm
 1192               10.41.
 1193 
 1194               pamscale: fix all black output with resampling.  Always broken.
 1195 
 1196               Build: don't use <alloca.h>.
 1197 
 1198 11.09.28 BJH  Release 10.56.00
 1199 
 1200               Add pamexec.  Thanks Michael Pot <fmw@actrix.co.nz>.
 1201 
 1202               pbmclean: add -extended.  Idea from kugland@gmail.com.
 1203 
 1204               rasttopnm: add -index.
 1205 
 1206               pamcomp: Retain opacity information from underlying image.
 1207 
 1208               pnmtops: Add PBM fast path.  Thanks Akira F Urushibata
 1209               <afu@wta.att.ne.jp>.
 1210 
 1211               libnetpbm and most programs that use color maps: speedup with
 1212               new color hash function.  Thanks Akira F Urushibata
 1213               <afu@wta.att.ne.jp>.
 1214 
 1215               pnmquant: use File::Temp::tempfile() instead of local
 1216               approximation if it is available.
 1217 
 1218               pnmquant: work with older Perl that doesn't have 3-argument open.
 1219               Thanks Slaven Rezic <srezic@iconmobile.com>.
 1220 
 1221               pamscale: Issue error message instead of ignoring extraneous
 1222               arguments.
 1223 
 1224               libnetpbm, many programs: fix bug in pm_allocarray(): returns
 1225               NULL when can't get memory.  Calling programs thus crash on
 1226               very large images.  Introduced in Netpbm 10.51.
 1227               
 1228               pnmtopng: fix bug: with -alpha specifying a mask which contains
 1229               no fully transparent area, output PNG is fully opaque.
 1230               Introduced in Netpbm 10.29.
 1231 
 1232               pnmtops: fix message: says "from top edge" where it means
 1233               "from bottom edge."
 1234 
 1235               ppmcie: fix bug: fails with "X coordinate out of range" error.
 1236               Introduced in Neptbm 10.51.
 1237 
 1238               bmptopnm: Fail properly with BMP that indicates an illegal bits
 1239               per pixel.
 1240 
 1241               Build: To find libpng, use the Pkgconfig database entry instead
 1242               of libpng-config if it is available.
 1243 
 1244               Build: pnmtops: Instead of omitting pnmtops from the build when
 1245               there is no libz, just omit ability to create flate-compressed
 1246               output from pnmtops.
 1247 
 1248 11.06.29 BJH  Release 10.55.00
 1249 
 1250               Add pamtosrf, srftopam.  Thanks Mike Frysinger
 1251               (vapier@gentoo.org).
 1252 
 1253               pgmtexture: fix wrong sum variance result.  Wrong since the
 1254               beginning.  Thanks Francois P. S. Luus <fpsluus@gmail.com>.
 1255 
 1256               pamrubber: fix crash.  Introduced in Netpbm 10.54.
 1257 
 1258               libnetpbm: pm_system(): fix bug - program always takes
 1259               Standard Input from invoker's Standard Input when you don't
 1260               supply a Standard Output accepter.  Introduced in Netpbm 10.40.
 1261 
 1262               ppmtobmp: fix bug: crash ("internal error") or bogus failure or
 1263               incorrect output on image without palette (e.g. black and
 1264               white).  Introduced in Netpbm 10.54.
 1265 
 1266               pnmtops: fix floating point exception or bogus width/height
 1267               too large error.  Introduced in Netpbm 10.53.
 1268 
 1269               pnmcat: Fix garbage output when multiple input image are from
 1270               Standard Input (now it just fails gracefully).
 1271 
 1272               Build: Use 'pkg-config' to find X libraries if possible (This
 1273               works with modern Xorg installations).
 1274 
 1275               Build: pnmtopng, pamrgbatopng compile with newer libpng,
 1276               as they no longer refer to private members of the pnginfo
 1277               structure.
 1278 
 1279               Build: fix undefined "strsol" and "vsnprintfN" failure on
 1280               systems without vasprintf().  Introduced in Netpbm 10.53.
 1281 
 1282               Build: fix compiler warning in pbmtocmuwm.
 1283 
 1284               configure: fix selection of mingw compiler.  Introduced in
 1285               Netpbm 10.48.
 1286 
 1287 11.03.30 BJH  Release 10.54.00
 1288 
 1289               Add pamrubber.  Thanks Willem van Schaik <willem@schaik.com>.
 1290 
 1291               Add ppmtoapplevol.  Thanks Matthew Garrett
 1292               <mjg59@srcf.ucam.org>.
 1293 
 1294               Add pamwipeout.  Thanks Willem van Schaik <willem@schaik.com>.
 1295 
 1296               pngtopam: add -byrow.
 1297 
 1298               pnmtopclxl: add -embedded.
 1299 
 1300               pgmtoascii: Truncates instead of undefined behavior if input
 1301               image is wider than specified width.
 1302 
 1303               Add libpamd (PAM version of classic libppmd drawing routines).
 1304 
 1305               Rename pbmtoicon to pbmtosunicon, to go with change
 1306               of icontopbm to sunicontopnm in Netpbm 10.53.
 1307 
 1308               g3topbm: correct error message: codes go up to 13 bits.
 1309 
 1310               pamstereogram: fix crash when not doing texture.
 1311 
 1312               pgmtoascii: Fix numerous output bugs.
 1313 
 1314               pngtopam: fix bug: -verbose reports history chunk present when
 1315               it's really a palette.
 1316 
 1317               pnmpsnr: fix bug: says PGM images differ when they don't
 1318               and vice versa.
 1319 
 1320 10.12.30 BJH  Release 10.53.00
 1321 
 1322               Add pammosaicknit.  Thanks Scott Pakin.
 1323 
 1324               pstopnm: Add -textalphabits, default Ghostscript TextAlphaBits
 1325               to 4.
 1326 
 1327               pngtopam: include tuple type in output.  Thanks
 1328               Thomas Henlich <thenlich@users.sourceforge.net>.
 1329 
 1330               sunicontopnm: Understands Depth=8.  Thanks Akira F Urushibata
 1331               <afu@wta.att.ne.jp>.
 1332 
 1333               sunicontopnm: Validate header.  Thanks Akira F Urushibata
 1334               <afu@wta.att.ne.jp>.
 1335 
 1336               bmptopnm: Don't crash on invalid zero value of image height in
 1337               the BMP header of a compressed file.  Always broken.
 1338               
 1339               bmptopnm: don't crash on large invalid value of 'colorsused' in
 1340               the BMP header.  Introduced in Netpbm 9.11.
 1341 
 1342               pm_mallocarray2: fix wild pointers when image is too big to fit
 1343               in a single chunk of malloc memory.  Affects many Netpbm
 1344               programs.  Introduced in Netpbm 10.51.00.
 1345 
 1346               ilbmtoppm: Don't crash on image that has a transparent color
 1347               index, but no color map.
 1348 
 1349               sunicontopnm: fix for 32 bit items in input.  Thanks Akira F
 1350               Urushibata <afu@wta.att.ne.jp>.
 1351 
 1352               sunicontopnm: fix arithmetic overflows.  Thanks Akira F
 1353               Urushibata <afu@wta.att.ne.jp>.
 1354 
 1355               icontopbm: rename to sunicontopnm.
 1356 
 1357               pamstereogram: Add mapped texture stereogram option.
 1358               Thanks Scott Pakin.
 1359 
 1360               pamstereogram: slight change to dpi and eye separation defaults.
 1361               invert near/far dark/light association.  Thanks Scott Pakin.
 1362 
 1363               pnmtops: Fix incorrect output with -flate.  Thanks Akira F
 1364               Urushibata <afu@wta.att.ne.jp>.
 1365 
 1366               sgitopnm: Fix arithmetic overflow on -channel option.  Thanks
 1367               Akira F Urushibata <afu@wta.att.ne.jp>.
 1368 
 1369               sgitopnm: Fix crash with -channel on verbatim SGI image.  Thanks
 1370               Akira F Urushibata <afu@wta.att.ne.jp>.
 1371 
 1372               fitstopnm: Deal properly with NaN in input image.
 1373 
 1374               pm_floatFromBigendFloat, pm_doubleFromBigendFloat, fitstopnm:
 1375               fix corrupted output.  Broken in Netpbm 10.46.
 1376 
 1377               pamtopdbimg: fix corrupted output image.  Thanks Scott Pakin.
 1378 
 1379               pdbimgtopam: fix corrupted output image.  Thanks Scott Pakin.
 1380 
 1381               pnmtops: fix arithmetic overflows.  Thanks Akira F Urushibata
 1382               <afu@wta.att.ne.jp>.
 1383 
 1384               Rename all external symbols that don't have a Netpbm prefix
 1385               to start with "pm_": shhopt, nstring, nsleep.  Eliminate
 1386               createBlackTuple -- pnmCreateBlackTuple already existed.
 1387 
 1388               libnetpbm: Change shared library major number to 11 because
 1389               of above renaming.
 1390 
 1391               build: include -lm in build of pamtopdbimg, pdbimgtopam.
 1392 
 1393               configure: Make warnings stand out more.
 1394 
 1395               configure: Fix crash when libpng test compile fails.
 1396 
 1397 10.09.26 BJH  Release 10.52.00
 1398 
 1399               Add pamtopdbimg, pdbimgtopam.
 1400 
 1401               Add pamrecolor.  Thanks Scott Pakin.
 1402 
 1403               anytopnm: Use 'pngtopam' shell command instead of 'pngtopnm'.
 1404 
 1405               pnmtopng:  -libversion doesn't report level of linked libz.
 1406               It was a modularity violation and caused build failures on
 1407               Mac OS X, because pnmtopng per se doesn't know about libz --
 1408               it's used by libpng.
 1409 
 1410               libnetpbm: add pm_readbiglong2, pm_readbiglong2u,
 1411               pm_readlittlelong2, pm_readlittlelong2u: These use the proper
 1412               32 bit integer types instead of "long".  (But the old ones
 1413               still work in legacy code because long is always at least 32
 1414               bits).
 1415 
 1416               pnmconvol: fix reversed sense of -nooffset.  Introduced in
 1417               Netpbm 10.49.
 1418 
 1419               ppmtompeg: fix crash with free of unallocated memory.
 1420               Broken after Netpbm 10.18, not later than 10.26.
 1421 
 1422               Build: fix parallel make - multiple simultaneous attempts to
 1423               build lib/util/importinc.
 1424 
 1425               Build: don't fail due to SIGRTMIN, SIGRTMAX being undefined.
 1426 
 1427               Build: don't expect snprintf() to exist.
 1428 
 1429               Build: don't use <strings.h> or bzero().
 1430 
 1431               Build: fix PNGVER.  Thanks Matthew Fischer
 1432               <futhark@users.sourceforge.net>.
 1433 
 1434 10.06.27 BJH  Release 10.51.00
 1435 
 1436               Add ppmtoascii.  Thanks "Frank Ch. Eigler" <fche@elastic.org>.
 1437 
 1438               pnmtops: Add -bitsperpixel option.
 1439 
 1440               pamx: Make exit status 0 instead of 10 when window manager
 1441               requests termination.
 1442 
 1443               pnmsmooth: Respect -plain.  Thanks Akira F Urushibata
 1444               <afu@wta.att.ne.jp>.
 1445 
 1446               pnmsmooth: Don't display pnmconvol messages (i.e. run
 1447               pnmconvol with -quiet).
 1448 
 1449               pamflip: speedup for PBM.  Use SSE2 and skip some idempotent
 1450               pixel movement.  Thanks Akira F Urushibata <afu@wta.att.ne.jp>.
 1451 
 1452               anytopnm: recognize "PC bitmap" in 'file' response as BMP.
 1453               (in addition to existing "PC bitmap data").
 1454 
 1455               libnetpbm, various PBM programs: Use SSE insted of MMX.  Thanks
 1456               Akira F Urushibata <afu@wta.att.ne.jp>.
 1457 
 1458               pbmtext/libpbmfont: Fix wild pointer; probably asymptomatic.
 1459               Introduced in Netpbm 10.39.
 1460 
 1461               pbmtext/libpbmfont: Fix some error messages for bad fonts.
 1462 
 1463               pbmtext/libpbmfont: fix crash with a BDF font with negative
 1464               left or bottom border.  Introduced in Netpbm 10.39.
 1465 
 1466               pamarith: fix memory leak.  Introduced in Netpbm 10.41.
 1467 
 1468               pnm_bytespersample(): fix bogus assertion on 64 bit system.
 1469 
 1470               pnmtops: fix bug: 12 bits per sample output when 8 would do.
 1471               Introduced in Netpbm 10.40.
 1472 
 1473               palmtopnm: fix for pixel size 16.  Thanks Paul Bolle
 1474               <pebolle@tiscali.nl>.
 1475 
 1476               pnmsmooth: Fail politely when convolution matrix is so
 1477               large as to bust the system's program parameter size limit
 1478               on the invocation of pnmconvol.
 1479 
 1480               avstopam: fix incorrect output.
 1481 
 1482               pnmsmooth: fix arithmetic overflow with absurdly large
 1483               convolution matrix dimensions.  Thanks Akira F Urushibata
 1484               <afu@wta.att.ne.jp>.
 1485 
 1486               pnmsmooth: fix wild pointer: causes wrong arguments to
 1487               'pnmconvol'.  Introduced in Netpbm 10.50.  Thanks Akira F
 1488               Urushibata <afu@wta.att.ne.jp>.
 1489 
 1490               pamscale: fix -reduce.  Introduced in Netpbm 10.27 (March 2005).
 1491 
 1492               pampaintspill: fix incorrect output.
 1493 
 1494               libnetpbm text drawing: fix incorrect output in all cases.
 1495               Introduced in Netpbm 10.47.
 1496 
 1497               libnetpbm line drawing: fix bogus assertion, introduced in
 1498               Netpbm 10.47.
 1499 
 1500               build: fix incorrect determination of when vasprintf() exists
 1501               in libc.
 1502 
 1503               configure: don't default to /usr/X11R6/lib/libX11.so just because
 1504               /usr/X11R6 exists.  /usr/X11R6/lib must exist.
 1505 
 1506 10.03.27 BJH  Release 10.50.00
 1507 
 1508               Add pamtoavs, avstopam.  Thanks Scott Pakin.
 1509 
 1510               Add pampaintspill.
 1511 
 1512               pnmconvol: Add -normalize .
 1513 
 1514               pm_system(): Close extraneous file descriptors that, among
 1515               other things, prevent child from seeing EOF.
 1516 
 1517               libnetpbm: Add PNM_GETR(), PNM_GETG(), PNM_GETB().  Same
 1518               as PPM_GETR(), etc.
 1519 
 1520               libnetpbm: Add ppm_luminosity().  Same as PPM_LUMIN, but
 1521               returns pixval.
 1522 
 1523               pnmhisteq: Equalize based on luminosity alone, rather than a
 1524               strange combination of luminosity and HSV value.
 1525 
 1526               pamenlarge: Make special fast path for scale factors up to 10
 1527               (2, 3, and 5 already existed).  Thanks Akira F Urushibata
 1528               <afu@wta.att.ne.jp>.
 1529 
 1530               pamflip: Speed up for most images.  Thanks Akira F Urushibata
 1531               <afu@wta.att.ne.jp>.
 1532 
 1533               ybmtopbm: Assume YBM format has raster in natural order
 1534               instead of byte-reversed.  This is what pbmtoybm creates,
 1535               and is most logical.  We don't know if there are any existing
 1536               YBM images or generators of them other than pbmtoybm.
 1537 
 1538               pbmpscale: speedup.
 1539 
 1540               pbmclean: speedup.
 1541 
 1542               pbmtext: fix crash when BDF font file contains spurious
 1543               blank line.  Ignore such blank lines.
 1544               
 1545               pbmpscale: fix arithmetic overflow on output image dimensions.
 1546 
 1547               pbmtogem, pbmtoybm, pgmtolispm, ppmtoilbm, pnmtosgi: fix
 1548               arithmetic overflow with image dimension represented as
 1549               16 bit integer.
 1550 
 1551               pbmpage: fix garbage output.
 1552 
 1553               pnmhistmap: Fix crash with -width.  Always broken.
 1554 
 1555               libppmd/ppmpat: fix wild pointer in ppmd_fill_drawprocp();
 1556               broken in Netpbm 10.47.
 1557 
 1558               palmtopnm: fix incorrect "PALM_DIRECT_COLOR_FLAG is not valid
 1559               for version 3 encoding type" failure.  Thanks Paul Bolle
 1560               <pebolle@tiscali.nl>.
 1561 
 1562               pamtosvg: fix bug: occasional crash with out of range error.
 1563               Introduced in Netpbm 10.42.
 1564 
 1565               palmtopnm: fix incorrect output with version 3 direct color.
 1566               Thanks Paul Bolle <pebolle@tiscali.nl>.
 1567 
 1568               Build: don't fail due to SIGPWR being undefined.
 1569 
 1570 09.12.30 BJH  Release 10.49.00
 1571 
 1572               Add pnmmercator.
 1573 
 1574               pnmconvol: Add -matrix, -matrixfile.
 1575 
 1576               pambayer: add -nointerpolate.
 1577 
 1578               jpeg2ktopam: Work with JP2 input as well as JPC.
 1579 
 1580               pamscale: Work on multi image stream.
 1581 
 1582               ppmrainbow: Make new directory for temporary files.
 1583               Prevents interference by other user who shares the main
 1584               temporary file directory.
 1585 
 1586               libnetpbm: When reading plain format PNM with PAM routines,
 1587               validate pixel against maxval (necessary for integer non-overrun
 1588               guarantees).
 1589 
 1590               pnmsmooth: change -dump option to output a new pnmconvol
 1591               -matrix option instead of a PGM file (because pnmsmooth now
 1592               uses -matrix).
 1593 
 1594               pnmtofiasco: fix bug: doesn't work with Standard Input.
 1595 
 1596               pnmsmooth: fix incorrect call to pm_system_lp() that makes
 1597               it never work (but it wouldn't anyway because pm_system_lp()
 1598               was broken -- see below).
 1599 
 1600               pm_system*: fix various bugs making it never work.
 1601 
 1602               xpmtoppm: fix wild pointer with color index > 127.
 1603 
 1604               xpmtoppm: fix wild pointer when the input has a color index
 1605               value that is too large to be consistent with the number of
 1606               colors and bytes per pixel.
 1607 
 1608               pamtouil: fix crash when -name option doesn't contain an
 1609               underscore.
 1610               
 1611               pamtosvg: fix some bug with unset Z coordinate.
 1612 
 1613               pnmtofiasco, fiascotopnm: fix bug on bigendian machine.
 1614 
 1615               pngtopam: use png_create_read_struct() instead of
 1616               png_create_write_struct().  Broken since Netpbm 10.48.
 1617 
 1618               configure: advise if adding -lz -lm fixes libpng link problem.
 1619 
 1620               makeman: some fixes or enhancements.
 1621 
 1622 09.09.27 BJH  Release 10.48.00
 1623 
 1624               ppmsvgalib: Wait to initialize Svgalib to prevent it from
 1625               interfering with error messages early code might issue, and
 1626               leaving the console in an undesirable state if the failures
 1627               cause the program to abort early.
 1628 
 1629               tifftopnm: wait for Pamflip processes to terminate before
 1630               exiting.
 1631 
 1632               Remove pngtopnm from the package.  Pngtopnm is now an alias
 1633               for Pngtopam.
 1634 
 1635               pngtopam, pnmtopng: Compiles with libpng 1.4 beta.
 1636 
 1637               pamtotiff: do miniswhite properly with 8 and 16 bit samples.
 1638 
 1639               pamsumm: fix syntax error message.
 1640 
 1641               pambayer: fix unconditional crash/failure when you aren't using
 1642               Standard Input.
 1643 
 1644               Add pbmtocis, cistopbm.  Thanks John Elliott
 1645               <jce@seasip.demon.co.uk>.
 1646 
 1647               Build: tifftopnm builds on systems without fork().
 1648 
 1649               Build: work with JPEG library Version 7.
 1650 
 1651               Build: Configure recognizes libvga.a installed without
 1652               libvga.so and offers that as default.
 1653 
 1654               Build: Configure recognizes the Mingw-64 compiler.
 1655 
 1656               Build: fix failure of a merge build on a system that doesn't
 1657               have the PNG library.
 1658 
 1659               Build: fix failure to recognize static library in omitting
 1660               -R from link.
 1661 
 1662               Build: use AR from config.mk instead of "ar" to build static
 1663               libraries: libnetpbm, librle, libjasper.
 1664 
 1665               Build: don't use "uint".
 1666 
 1667               Package: fix installation of pnmplain on Windows (.exe suffix).
 1668 
 1669 09.06.27 BJH  Release 10.47.00
 1670 
 1671               Add pamsistoaglyph.  Thanks Scott Pakin.
 1672 
 1673               pnmpsnr: Use more precise math to conclude that images are
 1674               identical.
 1675 
 1676               Add /usr/share/netpbm/rgb.txt to search path for color
 1677               dictionary.
 1678 
 1679               Remove nstring.h from exported interfaces.
 1680 
 1681               giftopnm: improve efficiency.
 1682 
 1683               libppmd: Add ppmd_point-based functions (ppmd_linep(), etc).
 1684 
 1685               pnmremap: fix: -firstisdefault uses an arbitrary color from the
 1686               map as default.
 1687 
 1688               pnmremap: fix -missingcolor:  where map file (ergo output) is not
 1689               depth 3, uses an arbitrary color.
 1690 
 1691               pnmremap: fix loss of dithering when the map (and thus the
 1692               output) has lower maxval than the input.  (Old code scales down
 1693               to the new maxval before dithering).
 1694 
 1695               giftopnm: fix for unlikely case of a block smaller than a code.
 1696 
 1697               ppmpat: fix crash in -squig.
 1698 
 1699               ppmpat: fix crash when width or height is zero.
 1700 
 1701               ppmpat: fix wrong output with -poles.
 1702 
 1703               libppmd (ppmpat, ppmdraw): Fix various out of bounds number
 1704               problems.
 1705 
 1706               ilbmtoppm: fix some bug in interpreting ILBM input.
 1707               (due to wrong pm_uintFromBigend16()).  From Netpbm 10.46.
 1708 
 1709               ximtoppm: fix crash in command line processing.
 1710 
 1711               ppmrainbow: exit with proper exit status upon failure.
 1712               
 1713               ppmfade: eliminate reference to undeclared subroutine.
 1714 
 1715               ppmquantall: don't use 'set' to set Bourne shell variable.
 1716 
 1717               pnmtile: fix reference to arbitrary storage in option
 1718               processing.  Introduced in Netpbm 10.42.
 1719 
 1720               pamstereogram: fix tuple type in output file (and crash
 1721               with -verbose) with -patfile .
 1722 
 1723               pamstereogram: fix uninitialized bytes per sample value.
 1724 
 1725               pbmtomacp: fix buffer overflow.
 1726 
 1727               libnetpbm (ppmd): fix: don't ignore failure to read font file.
 1728 
 1729               Fix: remove inclusion of pm_c_util.h from sshopt.h, which is
 1730               an exported interface header file, whereas pm_c_util.h is not.
 1731 
 1732               Lots of changes to integer code, bit access, word access, etc.
 1733               None functional.  Some speedup.
 1734 
 1735               make distclean: remove lib/compile.h.
 1736               
 1737               configure: use TEMP environment variable for TMPDIR if TMPDIR
 1738               is not set.  Don't try different temp file names forever; the
 1739               problem may not be the filename.
 1740 
 1741               configure: offer Gcc as an optional compiler for HP-UX.
 1742 
 1743 09.03.29 BJH  Release 10.46.00
 1744 
 1745               xwdtopnm: Add -cmapdump .
 1746 
 1747               xwdtopnm: Change maxval calculation for truecolor to fit
 1748               X11 spec.  Now it's determined by bits_per_rgb.
 1749 
 1750               xwdtopnm: Add warning about 2 byte sample output.
 1751          
 1752               pnmcrop: fast path for PBM.
 1753 
 1754               pnmcrop: Use border file instead of original image to determine
 1755               the background color (i.e. the color of added margins).
 1756 
 1757               pnmscale: finally make it just an alias of pamscale, which
 1758               obsoleted it in Netpbm 10.20.
 1759               
 1760               pnmcut: finally make it just an alias of pamcut, which
 1761               obsoleted it in Netpbm 9.20.
 1762 
 1763               tifftopnm: fix orientation problem on big-endian machines.
 1764               Introduced in Netpbm 10.42.
 1765 
 1766               pnmcrop: various fixes.
 1767 
 1768               g3topbm: fix array bound violation.  Introduced in Netpbm 10.32.
 1769 
 1770               pnmcat: fix array bound violation with PBM top/bottom
 1771               concatenation.  Introduced in Netpbm 10.44.
 1772 
 1773               ilbmtoppm: Fix array bound violation with compressed ILBM.
 1774               Introduced in Netpbm 10.18.
 1775 
 1776               fitstopnm: fix garbage output when input is little endian
 1777               floating point FITS.
 1778 
 1779               picttoppm: Fix crash with -fullres and all-text PICT image.
 1780               Also issue warning that program omits text with -fullres.
 1781 
 1782               picttoppm: Improve error/informational messages.
 1783 
 1784               picttoppm: Don't fail if 'fontdir' file doesn't exist.  Bug
 1785               from Netpbm 10.44.
 1786 
 1787               ppmtopict: Use two-byte length field when image width > 200
 1788               instead of > 250.  Former is what Picttoppm has been assuming
 1789               since March 2004, when it was found to work better than 250,
 1790               which is the number documented as right.
 1791 
 1792               ilbmtoppm: fix bug: appends color map PPM to output if input
 1793               has color map; fails if input doesn't have color map.  Broken
 1794               in Netpbm 10.18.
 1795 
 1796               leaftoppm: fix bug: uses red channel as all three channels;
 1797               (produces grayscale output).  Broken between Netpbm 10.19 and
 1798               10.26, inclusive.
 1799 
 1800               pbmtomrf, mrftopbm: fix crashes, incorrect output in all
 1801               cases.  Broken forever.
 1802 
 1803               pnm_alloctupletable, pnm_tuplehashtotable,
 1804               pnm_computetuplefreqtable3: fix crash when out of memory,
 1805               memory leak with uncomputably large numbers.
 1806 
 1807               build: rename getline() in xvminitoppm.c to avoid collision
 1808               with libc.
 1809 
 1810               Source tree: split out some of editor/ directory into new
 1811               editor/specialty directory.
 1812 
 1813 08.12.28 BJH  Release 10.45.00
 1814 
 1815               pgmnoise: Add -randomseed.
 1816 
 1817               ppmtobmp: Add -mapfile option.
 1818 
 1819               pnm_createBlackTuple(): Fix array bounds violation with
 1820               PBM, PGM.
 1821 
 1822               pnmtoddif: Fix crash with any PGM input.
 1823 
 1824               pgmnoise: Fix bug: never generates full white pixel.
 1825 
 1826               pamditherbw: Fix -value other than .5 with -fs, -atkinson.
 1827 
 1828               Configure: fix crash when Libxml2 is installed, but not new
 1829               enough version.
 1830 
 1831               Build: Use GNU compile options for Darwin.
 1832 
 1833               Build: Move CFLAGS later in libjasper and librle build so that a
 1834               -I in CFLAGS doesn't interfere with finding the local libjasper
 1835               and Netpbm header files.
 1836 
 1837               Build: Move LDFLAGS later so that a -L in LDFLAGS doesn't
 1838               interfere with finding the built libnetpbm.  (The common
 1839               link rule is already this way in Netpbm 10.44.00; all the other
 1840               link rules are now the same).
 1841 
 1842               Build: Rename Makefile.common, Makefile.config, to common.mk,
 1843               etc.
 1844 
 1845               Build: Add source type declarations to make -ansi compile work.
 1846 
 1847 08.09.27 BJH  Release 10.44.00
 1848 
 1849               Add pngtopam as a replacement for pngtopnm.  Has ability
 1850               to generate image with alpha channel.  Thanks 
 1851               David Jones <drj@ravenbrook.com>.
 1852 
 1853               pnmcolormap (pnmquant): round instead of truncating when
 1854               computing means.
 1855 
 1856               pamcut, pnmcat, pnmpaste, pnmpad, g3topbm: Add fast PBM
 1857               path.  Thanks Akira F Urushibata <afu@wta.att.ne.jp>.
 1858 
 1859               pnmpaste: fail if user specified stdin for both images.
 1860 
 1861               libppmd/ppmdraw: fix crash when line is completely out of
 1862               frame.
 1863 
 1864               pamgradient: fix bug: always produces color, not grayscale.
 1865 
 1866               pnm_backgroundxel(), pnm_backgroundxelrow() (affects
 1867               pnmrotate, pnmshear, pnmcrop, pnmcat: correctly average
 1868               corner colors to determine background (fill) color.
 1869 
 1870               pamcut: don't crash when cutting a region entirely to
 1871               the left or right of the input image, with -pad.  Thanks
 1872               Akira F Urushibata <afu@wta.att.ne.jp>.
 1873 
 1874               pamcut: don't crash when left > right or top > bottom with
 1875               -pad.  Thanks Akira F Urushibata <afu@wta.att.ne.jp>.
 1876 
 1877               pgmhist: arbitrary output when total pixels doesn't fit in an
 1878               integer.
 1879 
 1880               pamcomp: fix bug: arbitrary output when combined number of rows
 1881               doesn't fit in an integer.
 1882 
 1883               pamtosvg: remove "needed exchange" debug trace.
 1884 
 1885               Add pbmminkowski (source code has been in package since Netpbm
 1886               10.12 but not documented or built by default).
 1887 
 1888               pnmmontage: don't corrupt file names when they contain
 1889               colons.
 1890 
 1891               pamflip: fix bug: garbage output for PBMs, since Netpbm 10.42.
 1892 
 1893               pngtopnm: fix gamma correction.
 1894 
 1895               pngtopnm: fix bug: when background is color, output
 1896               should be PPM.
 1897 
 1898               pamperspective: fix bug: array bounds violation crash.
 1899 
 1900               Build: add dependencies so parallel make of top level
 1901               "all" works.
 1902 
 1903 08.06.27 BJH  Release 10.43.00
 1904 
 1905               Add pamtompfont: Mplayer bitmap font.
 1906 
 1907               pamthreshold: copy transparency information from input to
 1908               output.
 1909 
 1910               pnmnorm: adjust bvalue, wvalue when -bpercent and/or -wpercent
 1911               would cause an overlap, instead of failing.
 1912 
 1913               pamscale: fix PBM input + -nomix.
 1914 
 1915               anytopnm: fix parsing of type description.
 1916 
 1917               pamtilt: fix crash with excessive angle.
 1918 
 1919               pbmtext: remove meaningless "no output" from error messages.
 1920 
 1921               pbm_loadbdffont(): handle zero size glyph.  Affects pbmtext.
 1922 
 1923               pbmtext: fail properly if input contains no text.
 1924 
 1925               pbmtext: fix buffer overrun with tab characters.
 1926 
 1927               pnmnorm: fix -colorvalue, -saturation, -keephues options.
 1928 
 1929               pnmnorm: fix resolution of conflicting -wpercent and -wvalue.
 1930 
 1931               pamtohtmltbl: fix output error: contains holes due to
 1932               uninitialized memory.
 1933 
 1934               xvminitoppm: fix.  Totally broken since Netpbm 10.34.
 1935 
 1936               pnmtopclxl: fix crash with Standard Input input.
 1937 
 1938               pbmtogo: fix buffer overrun with too wide image.
 1939 
 1940               tgatoppm: fix standard input invocation.
 1941 
 1942               pamtotga: fix free of unallocated memory with no -name option.
 1943 
 1944               pamtouil: fix double free of memory.
 1945 
 1946               ppmd_filledrectangle: fail properly on negative image
 1947               height, width.
 1948 
 1949               Add back ppmd_fill_init() for backward compatibility;
 1950               removed in Netpbm 10.29.
 1951 
 1952               Build: make it work with Gcc 4.3 and -sse.
 1953 
 1954 08.03.26 BJH  Release 10.42.00
 1955 
 1956               anytopnm: Recognize xwd image by 'file' type.
 1957 
 1958               pamflip: Rewrite low-memory algorithm; use temp files and
 1959               conserve virtual as well as real memory.
 1960 
 1961               tifftopnm: orient raster properly in row-by-row operation
 1962               when TIFF uses nonstandard raster orientation.  (ORIENTATION
 1963               tag).
 1964 
 1965               pbmtext: fail cleanly if -width, -space, or -lspace is
 1966               too large for computation.  Thanks Akira F Urushibata
 1967               <afu@wta.att.ne.jp>.
 1968 
 1969               pnmmargin: don't crash with zero margin request.
 1970 
 1971               pnmtile: deal with zero width/height.
 1972 
 1973               pbmtext: fix negative -space.
 1974 
 1975               pbmtext: fail cleanly if input line is > 5000 characters.
 1976 
 1977               pamundice: Fix bogus error about missing "-instem" option.
 1978 
 1979               pgmdeshadow: fix crash in option processing.
 1980 
 1981               pgmmedian: fix crash.
 1982 
 1983               pgmbentley: fix output; black areas not black.
 1984 
 1985               pamtosvg: fix various bugs: crash, poor tracing, memory leaks.
 1986 
 1987               pamtosvg: fix log file name with Standard Input.
 1988               
 1989               ppmtoarbtxt: fix array bounds violation with really large
 1990               replacement sequence.
 1991 
 1992               ppmtoarbtxt: fix missing right parenthesis with impostor
 1993               replacement sequence.
 1994 
 1995               pnmnlfilt: fix internal error "impossible alpha value".
 1996 
 1997               Add pm_tmpfile_fd() and pm_make_tmpfile_fd().
 1998 
 1999               Various things to make it build on Windows without POSIX
 2000               emulation.
 2001 
 2002               Build: Include LDFLAGS environment variable in link of
 2003               build tools.
 2004               
 2005 07.12.27 BJH  Release 10.41.00
 2006 
 2007               pamenlarge: much faster for PBM.  Thanks Akira F Urushibata
 2008               <afu@wta.att.ne.jp>.
 2009 
 2010               pamenlarge: remove arithmetic overflow.
 2011 
 2012               pnmmontage: new search algorithm to choose square
 2013               output quickly.  Thanks "Nic Roets" <nroets@gmail.com>.
 2014 
 2015               bmptopnm: fix crash with 16 bit images.
 2016 
 2017               palmcolor8.map: Make it a 256 color map sorted by index,
 2018               per Palm's spec.  Thanks Paul Bolle <pebolle@tiscali.nl>.
 2019 
 2020               xwdtopnm: deal with too-large bits per pixel value in XWD 
 2021               header.
 2022 
 2023               pamditherbw, pamsharpness, pamsharpmask, pamtopfm:
 2024               fix crash due to write to arbitrary memory.
 2025 
 2026               pamtotiff: fix incorrect pixels with PNM maxval != TIFF
 2027               maxval.
 2028 
 2029               pnmcrop: fix -verbose message about background color with
 2030               -white.
 2031 
 2032               pbmmake: handle ridiculously large height, width arguments.
 2033 
 2034               pnmcat: fix arithmetic overflow.
 2035 
 2036               libnetpbm: Add arithmetic overflow protection to PBM
 2037               routines, like PGM/PPM/PNM have had for a long time.
 2038 
 2039               libnetpbm: make all row free operations go through
 2040               pm_freerow(); change row buffer type from char * to void *
 2041               for pm_allocrow(), pm_freerow().
 2042 
 2043               set _XOPEN_SOURCE=600 so jpeg2ktopam and pamtojpeg2k
 2044               compile on AIX (_XOPEN_SOURCE=500 keeps int_fast32_t from
 2045               being defined).
 2046 
 2047               pamperspective: Eliminate build-time symbol conflict
 2048               with 'nearest' on AIX.
 2049 
 2050               Fix bug: ppmdraw.h, ppmdfont.h not installed.
 2051 
 2052               Add -fPIC to all Gcc compiles of library modules, so it works
 2053               on AMD64, IA64.
 2054 
 2055               Add Windows version of gethostname to ppmtompeg; normal build
 2056               does not use it.
 2057 
 2058               package, install: install interface header files as
 2059               <netpbm/xxx.h> instead of just <xxx.h>.
 2060 
 2061 07.09.26 BJH  Release 10.40.00
 2062 
 2063               pamfunc: Add -andmask, -ormask, -xormask, -not,
 2064               -shiftleft, -shiftright.
 2065 
 2066               pbmtonokia: fail if input is > 255 x 255.  Thanks Paul Bolle
 2067               <pebolle@tiscali.nl>.
 2068 
 2069               pnmmargin: add -plain option.    Thanks
 2070               Akira F Urushibata <afu@wta.att.ne.jp>.
 2071 
 2072               pnmgamma: improve error messages.
 2073 
 2074               pamstack: accept Standard Input properly.
 2075 
 2076               pnmmargin: recognize invalid options better.  Thanks
 2077               Akira F Urushibata <afu@wta.att.ne.jp>.
 2078 
 2079               anytopnm, pnmmargin, pamstretch-gen, ppmquantall: fix
 2080               small temporary file security exposure.
 2081 
 2082               pnmtopalm: fix typo in error message.  Thanks Paul Bolle
 2083               <pebolle@tiscali.nl>.
 2084 
 2085               pnmtops: fix crash when program attempts to write 12 bits per
 2086               sample Postscript.  It doesn't really know how to do that, so
 2087               now it just writes 8 unless you do -psfilter.
 2088 
 2089               pnmtopng: Sort palette properly when alpha maxval != 255.
 2090 
 2091               pnmtopng: Fix array bound violation with = 256 colors and -alpha.
 2092 
 2093               pnmtopng: Fix array bound violation with > 256 alpha mask levels.
 2094 
 2095               pamtopfm: Fix wrong selection of default endianness.
 2096 
 2097               libnetpbm: Add pm_system_lp(), pm_system_vp().
 2098 
 2099               libnetpbm: Make pbm_readpbminit() and pgm_readpgminit()
 2100               recognize incompatible Netpbm formats and issue a
 2101               helpful error message.
 2102 
 2103               libnetpbm: pbm_readppminit: read PBM as maxval of 255, not 1.
 2104 
 2105               libnetpbm: Fix pm_drain() to use the specified limit.
 2106               Thanks Paul Bolle <pebolle@tiscali.nl>.
 2107 
 2108               libnetpbm: Fix multi-line TUPLTYPE interpretation:
 2109               separate lines with blank, not newline.  Thanks Paul
 2110               Bolle <pebolle@tiscali.nl>.
 2111 
 2112               libnetpbm: Reject empty TUPLTYPE header.
 2113 
 2114               libnetpbm: Fix uninitialized variable in pnm_allocpamrown().
 2115 
 2116               libnetpbm: fix crash in REALLOCARRAY with advanced optimization.
 2117 
 2118               libnetpbm: REALLOCARRAY frees memory if it fails.
 2119 
 2120               Rename pamtooctave to pamtooctaveimg.
 2121 
 2122               Build: don't build pstopnm on system without unix process
 2123               management.
 2124 
 2125               Build: put -l's after .o's in test links.
 2126 
 2127               Build: don't use 'uint' type.  Solaris 10 apparently doesn't
 2128               have it.
 2129 
 2130               Build: Add missing <stdlib.h> to ppmrough.c.
 2131 
 2132 07.06.26 BJH  Release 10.39.00
 2133 
 2134               Add pamtooctave.  Thanks Scott Pakin (scott@pakin.org).
 2135 
 2136               Add pamundice.
 2137 
 2138               fitstopnm: add -omaxval.
 2139 
 2140               pnmremap: add -norand.
 2141 
 2142               pbmtext: improve error messages about fonts.
 2143 
 2144               pamtofits: fix -min, -max.
 2145 
 2146               fitstopnm: fix BITPIX = -32.
 2147 
 2148               PAM_STRUCT_SIZE: cast pointer to ulong instead of uint.
 2149 
 2150               pamthreshold: fix totally bogus threshold selection with
 2151               simple thresholding.
 2152 
 2153               Configure: do test compile for missing Libxml2 and too old
 2154               Libxml2.
 2155 
 2156               Configure: fix bug detecting presence of libvga with
 2157               Ldconfig.
 2158 
 2159               Configure: build properly for Mac OSX when user says
 2160               libnetpbm will be in the default search path.
 2161 
 2162               Build: don't use 'uint' type.  Mac OSX apparently doesn't
 2163               have it.
 2164 
 2165 07.03.30 BJH  Release 10.38.00
 2166     
 2167               Add pamfixtrunc.
 2168 
 2169               pamtogif: Add -aspect.  Thanks
 2170               Akira F Urushibata <afu@wta.att.ne.jp>.
 2171 
 2172               pamditherbw: Add -atkinson.
 2173 
 2174               pammixinterlace: Add -filter and fir and ffmpeg filters.
 2175               Thanks Bruce Guenter <bruce@untroubled.org>.
 2176 
 2177               pammixinterlace: Add -adaptive.
 2178               Thanks Bruce Guenter <bruce@untroubled.org>.
 2179 
 2180               pambackground: recognize mid-row background.
 2181 
 2182               ppm3d: Change default offset to zero columns.
 2183 
 2184               ppm3d: Add -color option.
 2185 
 2186               ppm3d: Add -offset option as alternative to offset argument.
 2187 
 2188               jpegtopnm: Add -repair option.
 2189 
 2190               giftopnm: Add -repair option.
 2191 
 2192               xwdtopnm: use pm_drain() to catch some format
 2193               misinterpretations.
 2194 
 2195               pamtogif: Speed up for monochrome images.  Thanks
 2196               Akira F Urushibata <afu@wta.att.ne.jp>.
 2197 
 2198               pamtogif: Speed up for small images by using smaller
 2199               hash table (so smaller memory footprint).  Thanks
 2200               Akira F Urushibata <afu@wta.att.ne.jp>.
 2201 
 2202               libnetpbm: add pm_drain().
 2203               
 2204               libnetpbm: shhopt: reject signed number as value for
 2205               OPT_UINT option.
 2206 
 2207               libnetpbm: in the "no such option" error message, say what
 2208               the valid options are.
 2209 
 2210               libnetpbm: Embellish "bad magic number" error message.
 2211 
 2212               pnmremap: fix incorrect output with map file deeper than
 2213               input file.
 2214 
 2215               xwdtopnm: fix right edge padding for 24 bit per pixel,
 2216               32 bit per item images.
 2217 
 2218               xwdtopnm: update assumptions about format for direct color
 2219               images to match an image we found.
 2220 
 2221               pnmtopclxl: fix -feeder, -outtray options.  Thanks
 2222               "Eric K. Olson" <olson@mauicomputing.com>.
 2223 
 2224               picttoppm: Fix wild memory reference in all use cases.
 2225 
 2226               picttoppm: Fix for multi-pixel-per-byte image in which
 2227               it says the image has a row that is too long (because of
 2228               padding).
 2229 
 2230               pamtogif: fix crash with -mapfile.
 2231 
 2232               ppmtogif: handle case that map file and input file are not
 2233               the same depth, as was the case with the original ppmtogif.
 2234               Run the input through pnmremap.
 2235 
 2236               pamtoxvmini: fix bug: produces garbage when maxval is
 2237               not 255.
 2238 
 2239               pamtoxvmini: fix crash.
 2240 
 2241               libnetpbm: fix buffer overrun with PBM images < 8 columns.
 2242 
 2243               libnetpbm: fix crash with PBM images < 8 columns on MMX/SSE
 2244               machine.
 2245 
 2246               pamtogif: fail properly if image to wide or high for GIF.
 2247 
 2248               ppmdraw: fix crash with use of freed storage.  Thanks
 2249               John Walker <kelvin@fourmilab.ch>.
 2250 
 2251               libnetpbm: fix crash with PAM read as PNM.
 2252 
 2253               installnetpbm: use 2-argument open() for old Perl.
 2254     
 2255               configure: fix choice of default library suffix.
 2256 
 2257               configure: default to 'none' for Svgalib if it doesn't appear
 2258               to be installed.
 2259 
 2260 06.12.31 BJH  Release 10.37.00
 2261 
 2262               Add pambackground.  But doesn't find mid-row background yet.
 2263 
 2264               pnmcrop, pamtopnm: work on multi-image stream.
 2265               Thanks Erik Auerswald <auerswal@unix-ag.uni-kl.de>.
 2266 
 2267               pnmshear: add -background.  Thanks Erik Auerswald
 2268               <auerswal@unix-ag.uni-kl.de>.
 2269 
 2270               ppmtogif: replace with pamtogif.  Fix garbage output with
 2271               -interlace.
 2272 
 2273               pbmtoxbm: add -name option.
 2274               Thanks Akira F Urushibata <afu@wta.att.ne.jp>.
 2275 
 2276               ppmshift, ppmspread, ppmforge, pgmnoise, pgmcrater: better
 2277               randomization; won't produce the same image if you run it
 2278               twice within the same second.
 2279 
 2280               pbmtoxbm: Use packed PBM functions for efficiency.
 2281               Thanks Akira F Urushibata <afu@wta.att.ne.jp>.
 2282               
 2283               xbmtopbm: Use packed PBM functions for efficiency.
 2284               Thanks Akira F Urushibata <afu@wta.att.ne.jp>.
 2285 
 2286               cmuwmtopbm, mgrtopbm, pbmtocmuwm, pbmtoicon, pbmtomgr:
 2287               Use packed PBM functions for efficiency.
 2288               Thanks Akira F Urushibata <afu@wta.att.ne.jp>.
 2289 
 2290               libnetpbm: add pnm_colorname().
 2291 
 2292               libnetpbm: add pnm_computetuplefreqtable3().  Has ability
 2293               to limit number of planes of input considered.
 2294 
 2295               libpam: better checking of sufficient size of struct pam
 2296               in pnm_writepaminit().
 2297 
 2298               pnm_readpaminit(): abort instead of crash if width == 0.
 2299 
 2300               pnmtopng: fix transparency optimization on PPM input.
 2301     
 2302               pnmrotate: fix -background option with PGM/PBM input.
 2303 
 2304               pamx: fix bug with X depth = 0.
 2305 
 2306               pamx: fix bug: incorrect display of one-plane input image.
 2307 
 2308               libnetpbm: fix bogus results from ppm_parsecolor() of
 2309               rgb:0/0/0 style color name.
 2310 
 2311               pbmtoxbm, pbmtox10bm: merge.
 2312               Thanks Akira F Urushibata <afu@wta.att.ne.jp>.
 2313 
 2314               pbmtox10bm: Fix generation of name in XBM file.
 2315               Thanks Akira F Urushibata <afu@wta.att.ne.jp>.
 2316 
 2317               pbmtextps: Fix buffer overrun -- typical symptom: extra
 2318               text generated.
 2319 
 2320               ppmchange: Fix bug with -closeness and not -remainder or
 2321               vice versa.
 2322 
 2323               pgmtoppm: Fix garbage output with -map and input maxval
 2324               != map maxval.
 2325 
 2326               pbmtext: Fix crash when there is only one character.
 2327 
 2328               pnmnlfilt: Give proper error message for syntax errors.
 2329 
 2330               ppmtompeg: fix reading of GOPs.  Thanks Alun Jones.
 2331 
 2332               Fix pamcomp: due to use of undefined value, sometimes produces
 2333               plain format.
 2334 
 2335               Fix pamperspective: read all of input.
 2336 
 2337               Fix libnetpbm pm_system(): don't hang if shell command quits
 2338               before taking all the input.
 2339 
 2340               Build: Configure does test links to detect broken
 2341               libpng-config --ldflags.
 2342 
 2343               Build: Fix some compile failures with Irix IDO compiler.
 2344 
 2345               Build: fix Darwin (Mac OS X) build.
 2346 
 2347               Configure: fix default for X library location.
 2348 
 2349               Build: remove unnecessary limit of 200 characters on
 2350               argument length in Libopt.
 2351 
 2352               Build: fix build with separate build directory.
 2353 
 2354               Build: fix merge build with no X11 library.
 2355 
 2356 06.09.21 BJH  Release 10.36.00
 2357 
 2358               pbmtonokia: Add plain NPM output capability.  Thanks Paul Bolle
 2359               <pebolle@tiscali.nl>.
 2360 
 2361               pbmtonokia: Pad to 8 bytes.  Thanks Paul Bolle
 2362               <pebolle@tiscali.nl>.
 2363 
 2364               pbmtonokia: Limit text to 120 bytes.  Thanks Paul Bolle
 2365               <pebolle@tiscali.nl>.
 2366 
 2367               pamthreshold: don't gather global information, and reread
 2368               file, for local thresholding (to save time, resources).
 2369               Thanks Erik Auerswald <auerswal@unix-ag.uni-kl.de>.
 2370 
 2371               libnetpbm: BK color matching adjustments, change of
 2372               enum bk_color.  Thanks "Kenan Kalajdzic"
 2373               <kalajdzic@gmail.com>.
 2374 
 2375               Fix version number control.
 2376 
 2377               pbmtonokia: fix headers of NGG and NOL to include 3 character
 2378               magic.
 2379 
 2380               Release allocated memory before longjmping from libnetpbm.
 2381 
 2382               Eliminate pm_perror() in favor of informative error messages.
 2383 
 2384               libnetpbm: fix rgb:r/g/b color name parsing for invalid
 2385               syntax.
 2386 
 2387               Add pm_errormsg(), pm_setusererrormsg(), pm_setusermessage().
 2388 
 2389               pm_accept_to_pamtuples: fix bug: fill in pam structure.
 2390               Thanks "Christian Schlotter" <schlotter@users.sourceforge.net>.
 2391 
 2392               Fix selection of MMX_SSE fastpath based on GNU compiler version
 2393               number.
 2394 
 2395               Properly clean thinkjettopbm.c with 'make distclean'.
 2396 
 2397               Remove some generated files from release so build works.
 2398 
 2399               Remove general history from change file
 2400 
 2401 06.08.19 BJH  Release 10.35.00
 2402 
 2403               Add pgmdeshadow.
 2404 
 2405               giftopnm: add -quitearly.
 2406 
 2407               pamfile: add -comments.
 2408 
 2409               ppmdraw: remove limitation on size of script.
 2410 
 2411               pnm_readpaminit(), pnm_writepaminit(): Add comment control.
 2412 
 2413               ppmtogif: do one row at a time.
 2414 
 2415               Pnmtopng: improve validation of -modtime option.
 2416 
 2417               Look in /usr/share/X11 instead of /usr/openwin/lib for
 2418               rgb.txt.
 2419 
 2420               ppmtompeg: die properly when frame is less than 16x16.
 2421 
 2422               ppmdraw: fix bug with semicolon in script not followed by
 2423               white space.
 2424 
 2425               libppmd (ppmdraw, ppmlabel): don't crash with horizontal
 2426               or vertical line that is entirely out of frame.
 2427 
 2428               picttoppm: Fix 32 bit per pixel conversion, broken in 10.34.
 2429 
 2430               pamthreshold: fix read from pipe.
 2431 
 2432               Fix typo in make file that makes svgtopam get built
 2433               when Libxml2 is not available.
 2434 
 2435               pnm_computetuplefreqhash(), pnm_computetuplefreqtable2():
 2436               Don't crash on error without pm_setjmp().
 2437 
 2438               Change memmem() to memmem_internal() in cameratopam/identify.c
 2439               to avoid collision with system library.
 2440 
 2441               Use __MINGW32__ to determine HAVE_MKSTEMP (instead of manual).
 2442 
 2443               Eliminate use of network functions for endianness computations.
 2444 
 2445               Use "inttypes_netpbm.h" on a system that doesn't have
 2446               the int_fast32_t, etc. types.  Like Solaris 8.
 2447 
 2448               configure, installnetpbm: autoflush stdout.
 2449 
 2450               Build: Use libpng-config if it exists.
 2451 
 2452               Build: assume no Lex program if neither 'flex' or 'lex' shell
 2453               command verb exists.
 2454 
 2455               Remove test source file ppmdtexttest.  Ppmdraw should be
 2456               sufficient now.
 2457               
 2458 06.06.18 BJH  Release 10.34
 2459 
 2460               Add pamthreshold.  Thanks Erik Auerswald
 2461               <auerswal@unix-ag.uni-kl.de>.
 2462 
 2463               Add pamx.
 2464 
 2465               Add pamtoxvmini.
 2466               
 2467               pammasksharpen: Add -threshold.
 2468 
 2469               pnmtopng: make "N colors found" message verbose-only.
 2470 
 2471               pnmtopng: make "no room in palette" message non-verbose.
 2472 
 2473               picttoppm: Tolerate various PICT file corruptions.
 2474 
 2475               picttoppm: Don't issue warning message when file named
 2476               'fontdir' doesn't exist.
 2477 
 2478               libnetpbm: Add ppm_bk_color_from_color(),
 2479               ppm_bk_color_from_name(), ppm_name_from_bk_color().
 2480               Thanks "Kenan Kalajdzic" <kalajdzic@gmail.com>.
 2481 
 2482               libnetpbm: Add ppmd_fill_path().
 2483 
 2484               ppmtobmp: Fix for PBM input.
 2485 
 2486               bmptopnm: Don't crash on BMP with no color map.
 2487 
 2488               bmptopnm: Fix wrong file name in error messages.
 2489 
 2490               ppmtogif: fix bug: always produces garbage output.
 2491 
 2492               ppmtompeg: fix input from Standard Input.
 2493 
 2494               pnmflip: fix bug: -rotate90, -rotate180, and -rotate270
 2495               (and synonyms) don't work when followed by other rotation
 2496               options.
 2497 
 2498               ppmtoilbm: Fig bug: generates more planes than necessary.
 2499 
 2500               pamtofits: fix buffer overflow in asembling header.
 2501 
 2502               picttoppm: fix bug - interprets some images wrong because of
 2503               bogus "rowBytes" value.
 2504 
 2505               libnetpbm: add ppm_fastlumin().  Change ppmtopgm, ppmtoilbm,
 2506               and ppm3d to use this, which results in higher quality output,
 2507               because ppm_fastlumin() rounds to nearest, whereas these
 2508               programs rounded down.  Otherwise, it's the same calculation.
 2509 
 2510               Redo asprintfN(), etc. so as not to use va_list in a way
 2511               that doesn't work on some machines.
 2512 
 2513               cameratopam: remove definition of memmem() so it doesn't collide
 2514               with same in some C libraries.  Add memmemN() and MEMEQ to
 2515               libnetpbm.
 2516 
 2517               Fix build of filename.o.
 2518 
 2519               Build: Use local version of mkstemp() based on mktemp() when
 2520               mkstemp() isn't available.  No automatic determination that
 2521               mkstemp() isn't available yet.
 2522 
 2523               Build: Include dummy pm_system() on a system that doesn't
 2524               have regular Unix process management.
 2525 
 2526               Add -Wundef to Gcc compile options.
 2527 
 2528 06.03.26 BJH  Release 10.33
 2529 
 2530               Add pamtosvg.
 2531 
 2532               g3topbm: Add -width, -paper_size.
 2533 
 2534               libnetpbm / most newer programs: Fix bug that produces
 2535               plain format output when it should be raw because
 2536               pnm_readpaminit() does not set 'plainformat' and most
 2537               programs just copy the input pam to the output pam.
 2538 
 2539               pamflip: fix bug with left/right flip of PBM that has 
 2540               width an even multiple of 8 plus something less than 8.
 2541 
 2542               pnmquant: turn on autoflush when creating seekable file.
 2543 
 2544               install: fix symbolic link pnmdepth -> pamdepth.
 2545               
 2546               build: fix some importinc dependencies.
 2547 
 2548 06.02.25 BJH  Release 10.32
 2549 
 2550               Add rlatopam.  Thanks Simon Walton <simonw@matteworld.com>.
 2551 
 2552               Add pgmmake.
 2553 
 2554               bmptopnm: Understands RLE4/RLE8 compressed BMP.  Thanks
 2555               Akira F Urushibata <afu@wta.att.ne.jp>.
 2556 
 2557               pnmgamma: Add -bt709tosrgb -srgbtobt709, -bt709tolinear,
 2558               -lineartobt709, -gamma, -rgamma, -ggamma, -bgamma (gammma
 2559               values were formerly specified as parameters).
 2560 
 2561               pnmgamma: Rename -cieramp to -bt709ramp.
 2562 
 2563               pnmnorm: add -maxexpand option.
 2564 
 2565               ppmdraw: work on multi-image streams.              
 2566 
 2567               anytopnm: add mime time image/x-ms-bmp for BMP
 2568 
 2569               pamchannel: works on multi-image streams.
 2570 
 2571               pamstack: works on multi-image streams.
 2572 
 2573               Convert pnmdepth to pamdepth.  Add multi-image stream
 2574               capability.
 2575 
 2576               pamcut: works on multi-image streams.
 2577 
 2578               pnmtops: allow -flate and -rle together.
 2579 
 2580               pnmtops: overhaul of -psfilter output.
 2581               Thanks Chapman Flack <chap@anastigmatix.net>.
 2582 
 2583               pnmrotate: fine adjustment to arithmetic (rounding,
 2584               pixel quantization).
 2585 
 2586               pbmtopsg3: Put currentfile ... in exec block.  Thanks
 2587               Chapman Flack <chap@anastigmatix.net>
 2588 
 2589               pbmtopsg3: Add missing /EndOfBlock .  Thanks
 2590               Chapman Flack <chap@anastigmatix.net>
 2591 
 2592               pnmtops: Don't claim EPSF if using setpagedevice.
 2593               Thanks Chapman Flack <chap@anastigmatix.net>
 2594 
 2595               giftopnm: do "reading image sequence N" message only if
 2596               being verbose.
 2597 
 2598               ppmtobmp, bmptopnm: major speed improvement for PBM.  Thanks
 2599               Akira F Urushibata <afu@wta.att.ne.jp>.
 2600 
 2601               pbmtog3: Use new GCC features instead of assembly language
 2602               for superspeed operations.  Thanks
 2603               Akira F Urushibata <afu@wta.att.ne.jp>.
 2604 
 2605               pm_make_tmpfile(): Use TEMP and TMP environment variables if
 2606               TMPDIR not set.
 2607 
 2608               pm_make_tempfile(): improve error message.
 2609 
 2610               libpam: pnm_writepamrowmult() respects pam.plainformat.
 2611 
 2612               libpam: pnm_writepaminit() checks -plain option for PAM format
 2613               (recognizes the error).
 2614 
 2615               ppmtoglobe: Fix wild pointer bug.
 2616 
 2617               Fix wild pointer in REALLOCARRAY(). Affects ppmdraw,
 2618               escp2topbm, ppmtowinicon, ppmtompeg, pnmtopalm,
 2619               pnmtopng.  Thanks Steve Summit <scs@eskimo.com>.
 2620 
 2621               pnmtopng: fix bug with undefined cmdline.modtimeSpec.
 2622               Thanks Mike Frysinger <vapier@gentoo.org>.
 2623 
 2624               pnmquant: Use Perl sysseek() instead of seek() to avoid
 2625               a mispositioned file disaster on some platforms.
 2626 
 2627               pamditherbw, pgmtopbm: fix bug: overly dark with cluster
 2628               methods because only 1/4 of the dither matrix is used.
 2629               Thanks Mark Williams <mark@aziraphale.homeip.net>.
 2630 
 2631               pnmrotate: fix bug: garbage in lower right corner of background
 2632               with -noantialias.
 2633 
 2634               pnmsmooth: change to regular Netpbm syntax.  Replace -size
 2635               with -width and -height.
 2636 
 2637               pnmsmooth: fix bug: free of temp file name even when there
 2638               is no temp file (-dump option).
 2639 
 2640               pnm_scaletuplerow() fix bug: does nothing when old maxval ==
 2641               new maxval.  Affects pamedge only.
 2642 
 2643               ppmtompeg: Fix array/pointer degeneration mess with LumBlock
 2644               arguments; fix crash.
 2645 
 2646               pamstereogram: Fix crippling bugs.  Thanks Scott Pakin
 2647               <scott@pakin.org>.
 2648 
 2649               giftopnm: Handle case of a clear code at the end of a block.
 2650 
 2651               ppmtogif: Fix bug with interlaced GIF < 5 rows.
 2652 
 2653               cameratopam: Fix segmentation fault from undefined 'ifp'.
 2654               Thanks Bernard Hatt <bmh@arkady.demon.co.uk>.
 2655 
 2656               xwdtopnm: Fix bug from 10.31: LSB-first XWDs convert to all
 2657               black.
 2658 
 2659               ppmglobe: fix bug: always says stripcount is zero
 2660               because it looks at the wrong argument.  Thanks Urs Enke
 2661               <urs.enke@web.de>.
 2662 
 2663               pnmtotiffcmyk: Fix inttypes conflict on AIX.
 2664 
 2665               Stop exporting stripeq().
 2666          
 2667               Add -lm to link of libnetpbm shared library, to express the
 2668               fact that code in libnetpbm requires it.  Helps GNU Ld
 2669               --as-needed.
 2670 
 2671               Build: move symbolic links to header files into
 2672               'importinc' directories to keep directories cleaner.  Fully
 2673               populate 'importinc' in every directory so we don't have
 2674               to maintain a list of header files for each.
 2675 
 2676 05.12.23 BJH  Release 10.31
 2677 
 2678               Add pamgradient.
 2679 
 2680               libnetpbm/everything: speed up ppm_readppmrow() and
 2681               pgm_readpgmrow() by doing one fread per row instead of a
 2682               pgm_readrawsample() per sample.  Thanks "Ariel Berkman"
 2683               <aberkm1@uic.edu>.
 2684 
 2685               libnetpbm: Make PGM, PPM, and PNM routines read suitable
 2686               PAM images.
 2687 
 2688               pnmsplit: upgrade to pamsplit.
 2689 
 2690               xwdtopnm: Add ability to work with bits per pixel >
 2691               bits per item.  Replace whole pixel reader.
 2692 
 2693               pamtotiff: Use TIFFDefaultStripSize() for ROWSPERSTRIP default.
 2694 
 2695               pamtotiff: add -tag option.  Thanks Gary Gorbet
 2696               <ggorbet@sdicgm.com>.
 2697 
 2698               ppmglobe: add -background, -closeok, filename argument.
 2699 
 2700               pnmcolormap: Work on multi-image stream (one map for all).
 2701 
 2702               pnmtopclxl: read/convert/write one row at a time.
 2703               Thanks Martin Buck <m@rtin-buck.de>.
 2704 
 2705               ppmtolj: read/convert/write one row at a time.
 2706               Thanks Martin Buck <m@rtin-buck.de>.
 2707 
 2708               ppmtoxpm: fix bug: produced incorrect output when number
 2709               of colors is a power of 92.  Thanks Mark Weyer.
 2710 
 2711               pnmcolormap: fix bug: crashes with input depth > 3.
 2712 
 2713               pambayer: fix bug: doesn't actually read input file.
 2714 
 2715               ppmtompeg build: add missing const to work around TRU64
 2716               compile failure.
 2717 
 2718               xwdtopnm: Fix handling of padding at end of XWD row.
 2719 
 2720               pamtotiff: fix bug with PAMs with > 3 planes.
 2721 
 2722               Remove PPM_PACKCOLORS.
 2723 
 2724               pnmremap: fix arithmetic overflow bug with maxval > 255 that
 2725               caused random pixels.
 2726 
 2727               remove global "cmdline" variables from all programs (4 had them).
 2728 
 2729               pnmtops: remove extra %%%%Page from 10.27.
 2730 
 2731               mkinstalldirs: remove chmod 755 to match Automake's
 2732               mkinstalldirs.
 2733 
 2734               libopt: add -quiet option
 2735 
 2736               ppmtojpeg: fix prototype mismatch when building without
 2737               the JPEG function.
 2738 
 2739               libnetpbm: fix: PPM_DISTANCE uses red twice instead of and green.
 2740 
 2741               pnmnlfilt: fix alpha ranges.
 2742          
 2743               cameratopam: replace setenv with putenv so it works on Solaris.
 2744 
 2745               cameratopam: put in workaround for Solaris header file bug.
 2746 
 2747               pngtopnm: fix bug: grayscale PNG produces PPM.  s/b PGM.
 2748 
 2749               anytopnm: Use sed instead of Awk -- more universal.
 2750 
 2751               anytopnm: fix "INTERNAL ERROR" crash due to "filetype" variable
 2752               not set.
 2753 
 2754               rletopnm: fix crash when input file is empty or
 2755               there are various other problems reading its header.
 2756 
 2757               rletopnm: fix universal crash in option parser.
 2758 
 2759               tifftopnm: fix crash due to uninitialized variable.
 2760 
 2761               libnetpbm: Fix bug from 10.30: erroneously says a PAM header
 2762               line is missing.
 2763 
 2764 05.10.16 BJH  Release 10.30
 2765 
 2766               Add pambayer.
 2767               
 2768               Add pamrgbatopng.
 2769                             
 2770               Add pamtilt.  Thanks Gregg Townsend <gmt@cs.arizona.edu>.
 2771               
 2772               pamtotiff: create from pnmtotiff.
 2773 
 2774               pamtofits: create from pnmtofits.
 2775 
 2776               pamaddnoise: create from pnmaddnoise.
 2777          
 2778               pamarith: Add -divide.
 2779 
 2780               pammasksharpen: Add -sharpness.
 2781 
 2782               pnmtopng: add -comp_mem_level, -comp_strategy, -comp_method,
 2783               -comp_window_bits, -comp_buffer_size.
 2784 
 2785               pnmtopng: use Shhopt command line processor; replace
 2786               -chroma with -rgb, -phys with -size, -time with -modtime.
 2787 
 2788               pnmremap: Handle multiple image stream.
 2789 
 2790               xpmtoppm: Expand capacity from 2K character input lines to
 2791               8K character input lines.
 2792 
 2793               libnetpbm: improved messages for "color xxx cannot be
 2794               represented precisely with maxval M"
 2795 
 2796               libnetpbm color specification parsing:  Improve warning message
 2797               about rounding.
 2798 
 2799               libnetpbm/everything: speed up ppm_writeppmrow() and
 2800               pgm_writepgmrow() by doing one fwrite per row instead of
 2801               a pgm_writerawsample() per sample.
 2802 
 2803               pnmtopng: fix "meaningful bits" optimization of PGM so it
 2804               optimizes all the way instead of stopping at 4 bits.
 2805 
 2806               pnmtopng: fix crash when no -alpha option, due to dereferencing
 2807               of undefined alpha_mask.
 2808 
 2809               pnmtopng: fix bug: arbitrary color made transparent in
 2810               paletted PNG when nothing should be transparent.
 2811 
 2812               pnmtops: bug: selects wrong Postscript level.
 2813 
 2814               ppmtowinicon: use REALLOCARRAY instead of arithmetic-overflowing
 2815               realloc().
 2816 
 2817               anytopnm: fix bug: fails when 'file' database doesn't
 2818               have mime type but does have human-readable type.
 2819               
 2820               manweb: recognize directory as not executable in search of PATH.
 2821 
 2822               pgm_allocrow(), ppm_allocrow(), pnm_allocrow(): cure
 2823               arithmetic overflow.
 2824 
 2825               libnetpbm: On plain formats, check for sample value exceeding
 2826               maxval.
 2827 
 2828               libnetpbm: reject maxval > 65535 in "pam" functions. 
 2829 
 2830               pamarith: Use normalized libnetpbm facilities to get
 2831               proper accuracy.  Thanks Thomas Henlich
 2832               <http://sourceforge.net/users/thenlich/>.
 2833 
 2834               pamarith: fix bug: shift functions don't work when maxvals
 2835               are not identical.
 2836 
 2837               pamarith: fix rounding error on multiply.
 2838 
 2839               pgmtexture: correct calculation of normalizing constants
 2840               for d > 1.  Thanks Marc Breithecker
 2841               <Marc.Breithecker@informatik.uni-erlangen.de>.
 2842 
 2843               pnmnorm: fix divide by zero crash.
 2844 
 2845               pnmnorm: fix bug that doesn't let you specify
 2846               -luminosity, -colorvalue, or -saturation.
 2847 
 2848               ilbmtoppm: fix variable used before set.
 2849 
 2850               pnmtofits: fix 16 bit sample values > 2**15.
 2851 
 2852               pnmtopsnr: minor adjustments to messages.
 2853 
 2854               pnmnorm: don't crash when wvalue == bvalue.  Thanks Thomas
 2855               Henlich <http://sourceforge.net/users/thenlich/>.
 2856 
 2857               pnmnorm: fix rounding of output values.  Thanks Thomas
 2858               Henlich <http://sourceforge.net/users/thenlich/>.
 2859 
 2860               pnmhisteq: Fix external map to have width maxval + 1 instead
 2861               of maxval, so full intensity input pixels map properly.
 2862 
 2863               pnmhisteq: Fix -rmap.
 2864 
 2865               Fix typos in error messages in various programs.
 2866 
 2867               pgmmedian: change syntax to Netpbm standard.
 2868 
 2869               pammasksharpen: fix signedness bug that caused random bright
 2870               pixels at edges.
 2871 
 2872               pammasksharpen: fix bug with maxval != 255.
 2873 
 2874               Clean up a bunch of function prototypes so some broken
 2875               compilers don't complain about missing "const" in them.
 2876 
 2877               Remove dependency of pnmtops on basename().  It isn't in
 2878               some C libraries and we don't want to mess with linking
 2879               extra libraries.
 2880 
 2881               Build of ppmsvgalib: work properly when LINUXSVGALIB is
 2882               a "default path" value such as "libvga.so".
 2883 
 2884 05.08.15 BJH  Release 10.29
 2885 
 2886               Add ppmdraw.
 2887 
 2888               Add pammixinterlace.  Thanks Bruce Guenter <bruceg@em.ca>.
 2889               
 2890               Add pgmmedian.
 2891 
 2892               Add pnmaddnoise.
 2893 
 2894               pnmtopclxl: add -rendergray option.
 2895 
 2896               pnmtopclxl: add -jobsetup option.
 2897               
 2898               pstopnm: add -dSAFER Ghostscript option.
 2899 
 2900               pnmcrop: add -margin option.
 2901 
 2902               pnmcrop: add -borderfile option.
 2903 
 2904               pnmnorm: add -luminosity (which was already default),
 2905               -colorvalue, and -saturation.
 2906          
 2907               pnmtopng: Don't include any alpha info if supplied alpha mask
 2908               is all opaque.
 2909 
 2910               ppmcie: Make white point mark more visible.
 2911 
 2912               pamdice: Remove restriction of 100 slices in each direction.
 2913 
 2914               pnmtopng: Fix bug: erroneous transparent pixels when supplied
 2915               alpha mask is all opaque.
 2916               
 2917               Fix bytesToWordInt(): converts incorrectly on a machine that
 2918               has pointer size != word size and uses the general case code.
 2919 
 2920               libnetpbm: fix basic pm_readlittleshort() bug introduced
 2921               in 10.27 (March 2005).  Affects mdatopbm, rawtopgm, lispmtopgm,
 2922               pcxtoppm, winicontoppm, bmptopnm, sirtopnm, xwdtopnm,
 2923               cameratopam.
 2924 
 2925               pamlookup: fix universal crash.  Thanks "Colley, Anthony
 2926               W." <Anthony.Colley@ngc.com>
 2927 
 2928               pbmtolj: fix bug from 10.28: crashes with a line which is
 2929               a multiple of 8 plus 7 pixels wide not counting white right
 2930               margin.
 2931 
 2932               ppmtompeg: fix uname() rc test (sometimes > 0 is success).
 2933 
 2934 05.06.06 BJH  Release 10.28
 2935 
 2936               Add cameratopam (Dave Coffin's dcraw).
 2937 
 2938               ppmtoxpm: ignore empty or similar malformed XPM line instead
 2939               of giving up.
 2940 
 2941               pbmtolj: do multi-image stream.
 2942 
 2943               pnmindex: rewrite in C.
 2944 
 2945               Fix Gcc 3 warnings.
 2946 
 2947               pamcomp: fix out of memory problem due to uninitialized
 2948               pam.allocation_depth.
 2949 
 2950               anytopnm: remove apparently redundant traps of signals.
 2951 
 2952               pnm_alloctupletable(): fix bug from 10.27: returns random value.
 2953               (affects pnmcolormap, pnmremap, pnmquant, others).
 2954          
 2955               jpeg2ktopam: fix array bounds violation on 64 bit machines.
 2956               Thanks Frederic Devernay <Frederic.Devernay@inrialpes.fr>.
 2957 
 2958               rle_open: remove extraneous errno declaration.  Thanks
 2959               Joerg Sonnenberger <joerg@britannica.bec.de>.
 2960 
 2961               pm_tmpfile, pm_make_tmpfile: rearrange code.
 2962 
 2963               ppmtompeg: fix insecure temp file.  Thanks Alexey
 2964               Tourbin <at@altlinux.ru>.
 2965 
 2966               libnetpbm: fix basic readlittlelong() bug introduced in 10.27
 2967               (March 2005).  Affects xwdtopnm, bmptopnm, winicontoppm,
 2968               lispmtopgm.
 2969 
 2970               pbmtext/libnetpbm: fix crash with -builtin=fixed.
 2971 
 2972               pbmtoppa: fix floating point exception always due to
 2973               undefined DPI.
 2974 
 2975               fix jpeg2000 build failure on system without inttypes.h,
 2976               etc.  Build now excludes jpeg2000 if you don't have 64
 2977               bit capability, which practically means you have
 2978               inttypes.h, etc.
 2979 
 2980               jpeg2000: don't do unsafe temporary files.
 2981 
 2982               ppmshadow: make it work with old Perl.
 2983 
 2984               pnmquant: remove use of Fcntl::seek, not available in
 2985               Perl 5.00503.
 2986 
 2987               pnmquant: make -quiet option work.
 2988 
 2989               pnmgamma: Correct math in -srgbramp.  Add proper rounding.
 2990               Thanks Horst J. Wobig (hjw.fsw@wobig.de).
 2991 
 2992               ppmshadow: fix blurring of non-translucent shadow.
 2993 
 2994               ppmtoxpm: fix use of uninitialized variable that results
 2995               in invalid color map.
 2996          
 2997               Fix backward pnmtopnm - pamtopnm symlink.
 2998 
 2999 05.03.28 BJH  Release 10.27
 3000 
 3001               tifftopnm: do multi-image streams.
 3002 
 3003               pnmtotiff: add -append option.
 3004 
 3005               pnmtotiff: do multi-image streams.
 3006 
 3007               pnmtopclxl: fix bug with invalid palette in
 3008               SetColorSpace command.
 3009 
 3010               pnmtopng: don't accept -background without -mix.
 3011 
 3012               Eliminate pnmtopnm program -- install 'pnmtopnm' as an
 3013               alternate name for 'pamtopnm' instead.
 3014 
 3015               pamscale: refilter as part of resampling for better
 3016               quality downsampling.
 3017 
 3018               ppmcolormask: fix segfault with stdin input.
 3019 
 3020               Add pm_setjmpbuf().
 3021 
 3022               pnmindex, ppmquantall: use pnmquant instead of ppmquant.
 3023 
 3024               pnmquant: add -quiet, -plain options
 3025 
 3026               ppmfade, pnmshadow, pnmindex, pamlookup: Use pamscale
 3027               instead of pnmscale.
 3028 
 3029               ppmtoxpm: Don't include superfluous entries for colors
 3030               of transparent pixels, or for transparency when there are
 3031               all colors are opaque, in the XPM color map.
 3032               
 3033               pnmquant: remove dependency on File::Temp, not available
 3034               before Perl 5.6.1.
 3035 
 3036               pamfunc: use multiplication instead of division for -divisor,
 3037               for speed.
 3038 
 3039               pamfunc: fix bug in -adder and -subtractor with signed
 3040               arithmetic.  Thanks David Jones <drj@pobox.com>.
 3041 
 3042               pamscale: fix bug in converting negative floats to integers.
 3043               Thanks David Jones <drj@pobox.com>.
 3044 
 3045               pamscale: fix bug with -filter: scanbuf too small, thus
 3046               some output rows/columns can never be created and output raster
 3047               is invalid.
 3048 
 3049               build: fix build errors in ppmtompeg with OMIT_NETWORK.
 3050 
 3051               jpeg2ktopam: fix uninitialized memory problem in allocating
 3052               jasperCmptNo.
 3053 
 3054               pbmclean: fix -minneighbors so it isn't really -minneighbor.
 3055 
 3056               pnmremap: allow RGB map and BLACKANDWHITE/GRAYSCALE input.
 3057 
 3058               pamstereogram: fix bug with -eyesep (float/double).
 3059 
 3060               pamtojpeg2k: fix bug with -compression (float/double).
 3061 
 3062               pamtojpeg2k/jpeg2ktopam: work on 64 bit machine; fix
 3063               definition of int32fast_t, etc. in libjasper.
 3064 
 3065               libnetpbm: Respect plainness of specified format when writing.
 3066 
 3067               pnmremap: fix handling of arithmetic overflow in color
 3068               distance calculation.
 3069 
 3070               pnmremap: fix bug with palette of different depth from image.
 3071               
 3072               libnetpbm: fix 2 byte per pixel pnm_pamwriterow(),
 3073               pnm_formatpamrow().
 3074 
 3075               pbmmake: fix bug: requires color option.  (Introduced ca.
 3076               10.23).
 3077 
 3078               -plain works with PAM write functions.
 3079 
 3080               common -plain option causes failure instead of wrong output
 3081               when used with PAM output.
 3082 
 3083               pnmremap: fix rounding error where map maxval is small and
 3084               unequal to image maxval.
 3085 
 3086               Add pnm_normalizeRow(), pnm_unnormalizeRow(),
 3087               pnm_creategammatransform(), pnm_createungammatransform(),
 3088               pnm_freegammatransform(), pnm_freeungammatransform().
 3089               Idea and prototype from "Scott T. Smith" <scott@gelatinous.com>.
 3090 
 3091               pamscale: Use pnm_noramlizeRow() to speed up gamma adjustments.
 3092 
 3093               palmtopnm: Don't assume Palm Bitmap is valid.
 3094               Thanks Paul Bolle <pebolle@tiscali.nl>.
 3095 
 3096               giftopnm: fix crash with input that has bogus color indices
 3097               in the raster.
 3098 
 3099               giftopnm: fix crash with input that has a bogus minimum code
 3100               length field.  Thanks deekoo@tentacle.net (Deekoo L.).
 3101 
 3102               pnm_readpamrown(): use pnm_readpamrow() instead of
 3103               pm_getraw() for speed.  Similar for pnm_writepamrown().
 3104 
 3105               pnm_readpamrown(): use multiplication instead of division
 3106               for speed.  Thanks "Scott T. Smith" <scott@gelatinous.com>.
 3107          
 3108               pm_readbiglong(), etc.: pm_error() in case of failure.
 3109 
 3110               Add pm_readchar(), pm_writechar(), pm_readcharu(),
 3111               pm_writecharu().
 3112 
 3113               pnmtopalm: Add packbits compression.
 3114 
 3115               pnmtopalm: Add version 3 capability (-density, -withdummy).
 3116 
 3117               pnmtopalm: fix bug: incorrect between-image pad amount.
 3118 
 3119               pnmtopalm: fix compressed images.  use 0 compressed size
 3120               field - not totally correct, but passable.
 3121 
 3122               palmtopnm: fix incorrect handling of some combinations of
 3123               PALM_IS_COMPRESSED flag and compression type field.
 3124               Thanks Paul Bolle <pebolle@tiscali.nl>.
 3125 
 3126               palmtopnm: fix totally broken RLE and scanline compression.
 3127               Thanks Paul Bolle <pebolle@tiscali.nl>.
 3128 
 3129               palmtopnm: handle PackBits compression.  Thanks Paul
 3130               Bolle <pebolle@tiscali.nl>.
 3131 
 3132               palmtopnm: handle Version 3 encoding.  Thanks Paul Bolle
 3133               <pebolle@tiscali.nl>.
 3134 
 3135               Make makeman put in missing newline.  Thanks Eric S. Raymond
 3136               <esr@thyrsus.com>.
 3137 
 3138               Include libz in build of programs that use TIFF library.
 3139 
 3140               palmtopnm: fix wrong check for disallowed combination of
 3141               -transparent and -rendition.
 3142 
 3143               pnmtops: Add -psfilter, -flate, -ascii85, -level options.
 3144 
 3145               pnmtops: Add -dict, -vmreclaim options.
 3146 
 3147               pnmtops: improve %%Title
 3148 
 3149               pamcomp: fix bug that duplicates last row of overlay image.
 3150               Thanks achurch@achurch.org (Andrew Church).
 3151 
 3152               pamcut: fix bug that fills the rightmost column with black.
 3153               Thanks achurch@achurch.org (Andrew Church).
 3154 
 3155               pnmtops: Add -noshowpage option.
 3156 
 3157               pnmtops: Add %%%%Page. (whoops, this actually added a second
 3158               %%%%Page.  Removed in 10.31).
 3159 
 3160               pnmtopalm: fix bug with -offset option.
 3161 
 3162               xwdtopnm: recognize TrueColor visual class in header dump.
 3163 
 3164               ppmforge: fix bug: crash due to wild pointer with -night.
 3165               Thanks John Walker <kelvin@fourmilab.ch>.
 3166 
 3167               libnetpbm: add pm_make_tmpfile().
 3168 
 3169 05.01.01 BJH  Release 10.26
 3170 
 3171               pnmhistmap: Add -dots, -nmax, -red, -green, -blue, -lval,
 3172               -rval, -height, and -width options.
 3173               Thanks "John H. DuBois III" <spcecdt@armory.com>.
 3174 
 3175               pnmnorm: accept -wpercent and -wvalue (or -bpercent and -bvalue)
 3176               together.  Thanks Gregg Townsend <gmt@CS.Arizona.EDU>.
 3177          
 3178               xwdtopnm: Add -headerdump option.
 3179 
 3180               pnmtoxwd: Include 256 color color maps in direct color instead
 3181               of zero.  Zero has a weird effect.
 3182 
 3183               pamtotga: recognize RGB_ALPHA instead of RGBA.
 3184 
 3185               palmtopnm: fix bug in determination of compression type.
 3186 
 3187               palmtopnm: fix bug in handling of multi-image streams.
 3188               Thanks Paul Bolle <pebolle@tiscali.nl>.
 3189 
 3190               pnmtopalm: fix bugs in computation of nextDepthOffset.
 3191               Thanks Paul Bolle <pebolle@tiscali.nl>.
 3192 
 3193               pamtotga: fix TGA pixel size for TGA with alpha.  Don't do
 3194               colormap if input has transparency.
 3195 
 3196               pamtotga: fix crash due to uninitialized "id" field in TGA 
 3197               header.
 3198 
 3199               pbm_writepbmrow(): Fix bug in MMX/SSE code that causes
 3200               segmentation fault.
 3201 
 3202               pnmhistmap: Fix bug: doesn't work with maxval != 255.
 3203               Thanks "John H. DuBois III" <spcecdt@armory.com>.
 3204 
 3205               pbmtext: fix crash with code point > 127.
 3206 
 3207               ppmtompeg: major cleanup.
 3208 
 3209               pnmtopng: fix "internal error" and crash bug with -transparent.
 3210 
 3211               pnmtoxwd: fix endianness on littleendian machines.
 3212 
 3213               pnmtoxwd: fix bug: doesn't work if you specify an option.
 3214               
 3215               jpegtopnm: fix bug: -dumpexif all wrong.
 3216 
 3217               jpegtopnm: fix bug: newline written to stdout instead of stderr
 3218               with -dumpexif.
 3219 
 3220               Add missing 'col' declaration so -msse compile works.
 3221 
 3222               pcdovtoppm: fix syntax error
 3223 
 3224               pnmtojbig/jbigtopnm: add newline to "usage" message.
 3225 
 3226               pamperspective: fix bugs with -frame_include, etc.
 3227 
 3228               build: Jpeg2k programs build properly with newer Jasper library.
 3229 
 3230               build: Fix bug: "no rule to build xxx.so" with external
 3231               Jasper or Jbig library.
 3232 
 3233               Add NAME and DESCRIPTION section to pointer man pages.
 3234 
 3235 04.10.16 BJH  Release 10.25
 3236 
 3237               Add pcxstd.ppm.
 3238 
 3239               Add pbmtoibm23xx.  Thanks Jo Fahlke <jorrit@jorrit.de>.
 3240 
 3241               Add pamedge, replacement for pnmedge.
 3242          
 3243               pamperspective: add -frame_include, -*margin, -include.
 3244 
 3245               pamcomp: Handle RGB_ALPHA and GRAYSCALE_ALPHA images,
 3246               using the opacity plane.
 3247               
 3248               pamscale: do transparency pixel mixing properly.
 3249 
 3250               ppmtompeg: cleanups and additional verbosity.
 3251 
 3252               anytopnm: Use 'nawk' instead of 'awk' where available.
 3253 
 3254               anytopnm: Don't use -e.  (not available everywhere).
 3255 
 3256               tifftopnm: Add warning when Whole Image method reduces
 3257               resolution to 8 bit.
 3258 
 3259               pamtopnm: accept extra planes (ignore them).
 3260 
 3261               pamcut: major speedup.  Thanks Akira F Urushibata
 3262               <afu@wta.att.ne.jp>
 3263 
 3264               libnetpbm: Add pnm_getopacity().
 3265 
 3266               libnetpbm: Add pnm_applyopacityrown(), pnm_unapplyopacityrown().
 3267 
 3268               libnetpbm: "pam" read and write routines much more
 3269               efficient.  Thanks Akira F Urushibata
 3270               <afu@wta.att.ne.jp>
 3271 
 3272               Add pnm_formatpamrow(), pnm_allocrowimage(),
 3273               pnm_freerowimage().  Thanks Thanks Akira F Urushibata
 3274               <afu@wta.att.ne.jp>
 3275 
 3276               pnm_readpamrow(): Add option to have "tuplerow" argument
 3277               NULL and not get the row's contents.  Thanks Thanks
 3278               Akira F Urushibata <afu@wta.att.ne.jp>
 3279 
 3280               Add pnm_writepamrowmult().  Thanks Thanks Akira F Urushibata
 3281               <afu@wta.att.ne.jp>.
 3282 
 3283               libnetpbm: format plain format images more nicely.
 3284               Thanks Thanks Akira F Urushibata <afu@wta.att.ne.jp>
 3285 
 3286               pamcut: fix bug: Blows up instead of failing cleanly
 3287               when you try to cut beyond the bounds of the image.
 3288               Thanks Thanks Akira F Urushibata <afu@wta.att.ne.jp>
 3289 
 3290               fix bug: MMX/SSE fast PBM writing (with gcc -msse) all wrong.
 3291 
 3292               pamscale; fix bug: -linear option sense reversed.
 3293 
 3294               pamscale: fix bug: everything too dark when using resampling
 3295               to enlarge.
 3296 
 3297               Speed up pbm_writepbmrow() (and all PBM output programs)
 3298               by going a byte at a time.  Thanks Akira F Urushibata
 3299               <afu@wta.att.ne.jp>.
 3300 
 3301               pamperspective: fix bug that can cause memory corruption
 3302               and crashes.  Thanks Mark Weyer
 3303               <Mark.Weyer@math.uni-freiburg.de>.
 3304 
 3305               ppmtompeg: put in proper marshalling/unmarshalling so as not
 3306               to depend on a 32 bit integer type.
 3307 
 3308               ppmtopcx: add -palette option.
 3309 
 3310               pnmconvol: fix bug: green and blue convolution matrices
 3311               exchanged, gray exchanged with random.
 3312 
 3313               ppmtowinicon: fix bug: crashes on 32 bit images.
 3314          
 3315               Use <inttypes.h> or <types.h> where possible, dynamically
 3316               built "inttypes.h" where not.  Eliminate uint32n.
 3317 
 3318               Handle BITS_PER_WORD=64 in wordaccess.h so it builds on 
 3319               64 bit platforms.
 3320 
 3321 04.08.11 BJH  Release 10.24
 3322 
 3323               g3topbm: Add -stop_error.
 3324 
 3325               Add makeman to build tools.  Thanks Eric S. Raymond
 3326               <esr@thyrsus.com>.
 3327 
 3328               pamflip: Large speed, memory improvements for
 3329               non-diagonal flips.  Thanks Akira F Urushibata
 3330               <afu@wta.att.ne.jp>.
 3331 
 3332               jbigtopnm, pnmtojbig: Use packed PBM functions to speed up
 3333               greatly.  Thanks Akira F Urushibata <afu@wta.att.ne.jp>.
 3334 
 3335               g3topbm: Don't fail on premature EOF; produce partial
 3336               output instead.
 3337 
 3338               add pnm_maketuplergb(), pnm_makerowrgb(), pnm_makearrayrgb().
 3339 
 3340               Fix a bunch of programs that, starting with 10.23, have too
 3341               large a "len" field in the pam structure, causing storage
 3342               overwrites.
 3343 
 3344               pbmtext: fix free of unallocated storage bug with stdin
 3345               input text.
 3346 
 3347               pnm_writepaminit(): deal correctly with pam structure that
 3348               doesn't contain tuple_type member.
 3349 
 3350               Fix pamP->allocation_depth == 0.
 3351 
 3352               pamstretch-gen: use pamscale instead of pnmscale.
 3353 
 3354               Generate pm_config.h at make time.  Determine endianness
 3355               and word size stuff dynamically.  Use uint32n instead of
 3356               uint32_t in infotopam.c.
 3357          
 3358               fitstopnm: fix MIN/MAX transposition in maxval bounding.
 3359          
 3360               Fix bug: "wordn" in place of "wordint" in wordaccess.h.
 3361 
 3362               Fix bug: -plain option on "pam" programs generated plain
 3363               header, but raw raster.
 3364 
 3365 04.07.17 BJH  Release 10.23
 3366 
 3367               Add pamgauss.
 3368 
 3369               Add pammasksharpen.
 3370 
 3371               Replace pnmtoplainpnm with pnmtopnm.
 3372 
 3373               pnmconvol: Add -nooffset.
 3374 
 3375               pamdice: add -hoverlap, -voverlap.  Thanks Geoff
 3376               Kuenning <geoff@cs.hmc.edu>.
 3377          
 3378               pbmtoepson: Add -dpi, -adjacent, -noadjacent, and -protocol
 3379               options.
 3380 
 3381               pstopnm: recognize Encapsulated Postscript by presence of 
 3382               "EPSF-" in the header instead of a whole specific header line.
 3383               Thanks Philip Hallstrom <philip.hallstrom@gilbarco.com>.
 3384 
 3385               pnmpad: Allow -left/-right along with -width,
 3386               -bottom/-top along with -height.  Thanks David Jones 
 3387               <drj@pobox.com>.
 3388 
 3389               pnmpad: round to nearest instead of lowest in interpretation
 3390               of -halign, -valign.
 3391 
 3392               pnmsplit: Add -padname option.
 3393 
 3394               pnmenlarge: work on multi-image streams.
 3395               
 3396               libnetpbm: add allocation_depth to PAM structure.  Add
 3397               maketuplergb(), makerowrgb(), makearrayrgb().
 3398 
 3399               pnminvert: much faster for PBMs.  Thanks 
 3400               Akira F Urushibata <afu@wta.att.ne.jp>.
 3401 
 3402               pbmmake: use packed bits to speed up.  Thanks
 3403               Akira F Urushibata <afu@wta.att.ne.jp>.
 3404 
 3405               pbmtog3: speedups.  Thanks Akira F Urushibata
 3406               <afu@wta.att.ne.jp>.
 3407 
 3408               Fix gamma value (from .45 to 2.2) in pm_gamma709(), 
 3409               pm_ungamma709().
 3410 
 3411               pgmramp: Fix signedness bug with -rectangle, -ellipse.
 3412 
 3413               pnmtojpeg: fix bug with large exif files. (negative malloc)
 3414 
 3415               pnmtopng: Fix estimation of whether it's better to use a
 3416               colormap or not.
 3417          
 3418               Add pamditherbw, replacement for pgmtopbm.
 3419 
 3420               pamperspective: Fix bug.  Incorrect output.  Thanks
 3421               <Mark.Weyer@math.uni-freiburg.de>.
 3422 
 3423               ppmtompeg: fix crash with input that is not a multiple of
 3424               16 pixels high and wide.
 3425 
 3426               pamtotga: fix crash due to freeing nonexistent color table.
 3427 
 3428               pamtotga: fix bug: invalid TGA when you use -rgb with a
 3429               non-color input.
 3430 
 3431               pgmtopbm: fix calculations that divide by maxval+1; should
 3432               divide by maxval.  Thanks David Jones <drj@pobox.com>.
 3433 
 3434 04.05.01 BJH  Release 10.22
 3435 
 3436               Add pamperspective.  Thanks Mark Weyer
 3437               <Mark.Weyer@math.uni-freiburg.de>.
 3438 
 3439               Add pamstereogram.  Thanks Scott Pakin <scott@pakin.org>.
 3440 
 3441               Add pc1toppm.  Thanks Roine Gustafsson
 3442               <roine@users.sourceforge.net>.
 3443 
 3444               Add pbmtodjvurle.  Thanks Scott Pakin <scott@pakin.org>.
 3445 
 3446               Add infotopam.  Thanks Rich Griswold <griswold@acm.org>.
 3447 
 3448               Add pamtopfm, pfmtopam.
 3449 
 3450               ppmtowinicon: Add -truetransparent.
 3451 
 3452               ppmtowinicon: remove old, wrong, undocumented -andppm synonym
 3453               of -andpgm.
 3454 
 3455               ppmtopcx: Add -stdpalette option.
 3456 
 3457               pamsumm: Add -brief, -normalize.
 3458 
 3459               All programs that interpret color specifiers (ppmchange, etc.):
 3460               warn if the specified color can't be represented, to the 
 3461               precision specified, in the operative maxval.
 3462 
 3463               ppmchange: fail if the specified color can't be represented in
 3464               the maxval of the input image.
 3465 
 3466               pcxtoppm: Imply standard palette when palette in PCX header is
 3467               all black.  This function apparently got lost some time since
 3468               it was added in 1994.
 3469               
 3470               pcxtoppm: Add the color palette to -verbose output.
 3471 
 3472               ppmtopcx: Fix bug: wrong 256 color PCX output.  From
 3473               10.21.  Thanks Timothy Borgeaud
 3474               <timothy@borgeaud.freeserve.co.uk>.
 3475 
 3476               Convert ppmtodjvurle into pamtodjvurle.
 3477 
 3478               pngtopnm: Dump additional info about PNG with -verbose.
 3479 
 3480               pngtopnm: Use Netpbm command line parser.
 3481 
 3482               pbm_readpbmrowpacked(): Fix bug: ORs bits into return value
 3483               instead of setting them.  Affects pbmtoescp2.
 3484 
 3485               ppmtopcx: Fix bug: don't add black to a palette if it's not
 3486               already there.
 3487 
 3488               pnm_tuplehashtotable(): fix allocsize (maxsize) = 0 case.
 3489 
 3490               pamflip: fix bug with random memory accesses due to
 3491               signed/unsigned comparison.
 3492 
 3493 04.03.28 BJH  Release 10.21
 3494 
 3495               Add pamsumm.
 3496 
 3497               Add pamsummcol.
 3498 
 3499               Add pamsharpness, pamsharpmap.
 3500 
 3501               Add ppmtodjvurle.  Thanks Scott Pakin <scott@pakin.org>.
 3502 
 3503               pstopnm: add -dpi option.
 3504 
 3505               ppmtopcx: add -planes option.
 3506          
 3507               pbmtext: add -width option.
 3508 
 3509               replace pnmcomp with pamcomp, do transparency right wrt gamma.
 3510 
 3511               tifftopnm: Use better CMYK->RGB algorithm: y=1-(b+k) instead
 3512               of y=(1-k)*(1-b) in Row By Row mode.
 3513 
 3514               pbmtext/libnetpbm: Allow pbmfont fonts to have 96 characters
 3515               (32-128) instead of 95.
 3516 
 3517               pnmtopng: fix bug with -transparent.
 3518 
 3519               pcxtoppm: remove debugging footsteps.
 3520 
 3521               pnmflip: pass through -plain, etc. to pamflip.
 3522 
 3523               Include pm_system.h, pm_gamma.h in package.
 3524 
 3525               ppmtomap: Change #/bin/sh to #!/bin/sh.
 3526 
 3527               ppmtogif: Don't violate array bounds when GIF color map is
 3528               is larger than internal color map.
 3529 
 3530               yuvsplittoppm: Fix -ccir601 option; clean up.
 3531 
 3532               ppmtobmp: Fix bug: Generates invalid bits per pixel
 3533               (e.g. 3) when input image has small number of colors.
 3534               Thanks David Jones <drj@pobox.com>.
 3535 
 3536               pbmtog3: fix buffer overrun when image > 1728 columns.
 3537               Thanks Akira F Urushibata <afu@wta.att.ne.jp>.
 3538 
 3539               pnmsvgalib: Correct error message - too wide -> too tall.
 3540 
 3541               pnmtotiffcmyk:  Correct abs to fabs so -theta works.
 3542 
 3543               sldtoppm: Correct abs to fabs.
 3544 
 3545               pgmramp: Correct abs to fabs so -rectangle and -ellipse work.
 3546 
 3547               pgmramp: Don't crash with -rectangle and height or width = 1.
 3548 
 3549               ppmforge: Correct abs to fabs so the planet is more than
 3550               2 pixels wide.  Also recode much of program in high level C.
 3551 
 3552               pnmtojpeg: interpret "length" field in exif data as unsigned
 3553               16 bit instead of signed.
 3554 
 3555               pnmrotate: fix bug: always crashes in memory free
 3556 
 3557               pnmrotate: remove debugging messages.
 3558 
 3559               Declare _XOPEN_SOURCE=500 in programs that use strdup() so
 3560               C libraries that don't have _BSD_SOURCE will declare it.
 3561 
 3562               Use FTELLO macro so things compile on a system that
 3563               doesn't have ftello.  Don't assume _LARGE_FILE_API means
 3564               ftello is available -- _LARGE_FILE_API is input to libc, not
 3565               output from it.
 3566 
 3567 04.01.30 BJH  Release 10.20
 3568 
 3569               pamscale: derive from pnmscale.
 3570 
 3571               pamscale: Add resampling/convolution code.  Thanks
 3572               Michael Reinelt <m.reinelt@steinhilberschwehr.at>.
 3573 
 3574               pamscale: Do math in linear intensities instead of
 3575               gamma-adjusted.
 3576 
 3577               pamscale: Add -xyfill.
 3578 
 3579               pnmtopng: Remove global variables.  Solves a problem with 
 3580               conflicting name with libc: "gamma".
 3581                        
 3582               pbmtomda: make program identifier 'MicroDesignPCW'.  Thanks
 3583               John Elliott <jce@seasip.demon.co.uk>.
 3584 
 3585               fitstopnm: Produce maxval 1 instead of 0 when input is all one
 3586               value.  Use maxval 255 when samples are floating point.
 3587 
 3588               pamstretch-gen: be robust to invalid PNM input.
 3589 
 3590               anytopnm: do safe temporary files.
 3591 
 3592               ppmquantall: do safe temporary files.
 3593 
 3594               pnmindex: do safe temporary files.
 3595 
 3596               pnmmargin: do safe temporary files.
 3597 
 3598               pamstretch-gen: do safe temporary files.  Thanks 
 3599               Stefan Nordhausen <nordhaus@informatik.hu-berlin.de>.
 3600               
 3601               tifftopnm: Do better validation of number of channels.
 3602 
 3603               libnetpbm: Add pm_tmpfile().
 3604               
 3605               libnetpbm: Add "normalized" (floating point) read/write
 3606               routines:  pnm_readpamrown(), pnm_writepamrown(), 
 3607               pnm_allocpamrown(), pnm_freepamrown().
 3608 
 3609               libnetpbm: Add pm_gamma709, pm_ungamma709().
 3610 
 3611               libnetpbm: rename createBlackTuple() to pnm_createBlackTuple().
 3612 
 3613               pm_openr_seekable(): use TMPFILE environment variable.
 3614               Thanks Kai Strieder <ska@pixelboxx.de>.
 3615 
 3616               libnetpbm: Fail when input maxval is 0.  This wreaks havoc
 3617               with such things as rescaling to a new maxval.
 3618 
 3619               pnmquant: Fix bug wherein all options are rejected.
 3620 
 3621               ppmshadow: Fix crash in all invocations.
 3622 
 3623               pnmtopng: fix bug with array bounds violation with -alpha.
 3624               Usual symptom: "internal inconsistency" message.
 3625 
 3626               anytopnm: Remove "function" so it works on FreeBSD.
 3627 
 3628               configure: Do a better job of choosing between -R and -rpath.
 3629 
 3630               configure: Add test compile for PNG, Z libraries.
 3631 
 3632 03.11.15 BJH  Release 10.19
 3633 
 3634               ppmhist: Add -float option.
 3635 
 3636               ppmhist: speed up -colorname by reading color dictionary only
 3637               once.
 3638 
 3639               bmptopnm: fix bug with BMPs that end prematurely.
 3640 
 3641               giftopnm: Properly generate alpha mask when the same
 3642               color is both transparent and opaque in the GIF.  Thanks
 3643               Karl Zilles <zilles@1969.ws>.
 3644 
 3645               rgb.txt: move D65 to the end, so "white" is preferred.
 3646 
 3647               xwdtopnm: change interpretation of bitmap_pad and bitmap_unit
 3648               to accommodate Xfree86 direct color 24 bit xwd.
 3649 
 3650               pbmtextps: fix bug where intermediate file gets truncated.
 3651 
 3652               pstopnm: fix bug in which Standard Input never works.
 3653 
 3654               ppmtobmp: change 'char' to 'unsigned char' to work around a
 3655               Solaris C library bug.
 3656 
 3657               ppmtobmp: handle maxval properly for maxval != 256 truecolor BMP.
 3658               Thanks Michael Buchholz <michael.buchholz@deu.mci.com>.
 3659 
 3660               ppmquant: replace with wrapper for pnmquant, because ppmquant
 3661               had some really hard bug in computing the new color set.
 3662 
 3663               Fix stack corruption in pXm_check() on systems that have
 3664               both 32 and 64 bit file offsets.
 3665 
 3666               Add 'makecat' build tool and description to USERDOC of
 3667               using lynx -dump to get man-able documentation.
 3668 
 3669               Make AIX shared library build work, with -qmkshrobj.
 3670 
 3671               configure: Add intelligence to default location for zlib,
 3672               libpng headers.
 3673 
 3674               configure: Make shared libraries work on AIX.
 3675 
 3676               Add netpbm-config.
 3677 
 3678               installnetpbm: don't crash on mkdir on old Perl.
 3679 
 3680 03.09.19 BJH  Release 10.18
 3681 
 3682               Add pbmtomrf, mrftopbm.
 3683 
 3684               Add escp2topbm, pbmtoescp2.  Thanks Ulrich Walcher
 3685               <u.walcher@gmx.de>
 3686 
 3687               Add pbmtomatrixorbital.
 3688 
 3689               Add ddbugtopbm by Russell Marks.
 3690 
 3691               bmptopnm: Handle transparency, arbitrary pixel format (rgba
 3692               masks in BMP header).
 3693 
 3694               bmptopnm: Handle top-down BMP.
 3695 
 3696               bmptopnm: Handle 32 bit BMP.  Thanks Aaron Orenstein
 3697               <aorenste@grandvirtual.com>.
 3698 
 3699               ppmtopcx: add -8bit option.  Thanks Holger Schemel
 3700               <holger.schemel@telefonica.de>.
 3701 
 3702               ilbmtoppm: recognize (and ignore) DPPS and TINY chunks.
 3703 
 3704               pbmpage: Add solid perimeter box to Pattern 1.
 3705 
 3706               anytopnm: use 'file --mime' where available to determine file
 3707               type more robustly.
 3708 
 3709               manweb: make 'webdir' a list of directories instead of just one.
 3710 
 3711               pnmpsnr: fix bug: Cr and Cb interchanged.  Thanks
 3712               "Uwe Utecht" <uwe.utecht@bbc.co.uk>.
 3713 
 3714               pnmstitch: fix crash.  Thanks "Paul" <pwilkins@lashwhip.com>.
 3715 
 3716               manweb: add ability to read info files.
 3717 
 3718               configure: missing lineends for Solaris.
 3719 
 3720               anytopnm, ppmquantall: remove non-POSIX tail -N and egrep.
 3721 
 3722               pgmtexture: Fix Measure of Correlation-2 so small values don't
 3723               turn into zero (replace abs() with fabs()).
 3724          
 3725               Add and use MALLOCVAR and MALLOCARRAY utility macros.
 3726 
 3727               Allocate rows individually if can't get all rows in a single
 3728               memory block.
 3729 
 3730               Remove hpcdtoppm from the main package because it isn't
 3731               licensed properly to be distributed on Sourceforge.
 3732               
 3733               Remove "magic" file -- the version that comes with Christos
 3734               Zoulas' 'file' package now contains everything that file had.
 3735 
 3736               configure: put space after -o in test compiles.
 3737 
 3738               Explicitly set SCRIPTS make variable to null so environment
 3739               variable of the same name doesn't screw things up.
 3740 
 3741               Remove -DALL_SOURCE from AIX compile; define it in files that
 3742               require it.
 3743 
 3744               Add -ffast-math option to recommended Gcc options.
 3745 
 3746               stamp_date: don't use LOGNAME as a variable (on AIX, you can't).
 3747 
 3748 03.07.05 BJH  Release 10.17
 3749 
 3750               Various code cleanups based on TRU64 compiler warnings.
 3751 
 3752               Configure: print message when $OSNAME not recognized.
 3753 
 3754               Fix Makefile.common so LIBS and LOADLIBES work.
 3755 
 3756               Fix make file for Ppmglobe so it links the math library.
 3757 
 3758               Fix bug in xxx_check(): function/prototype mismatch
 3759               causes bogus wrong-filesize error on systems where off_t
 3760               is sometimes not 64 bits.
 3761 
 3762 03.07.03 BJH  Release 10.16
 3763 
 3764               Add ppmglobe.  Thanks Max Gensthaler <Max@Gensthaler.de>.
 3765 
 3766               bmptopnm: Add ability to convert 16 bits per pixel Windows BMP.
 3767 
 3768               giftopnm: add -image=all.
 3769 
 3770               pnmtiff: Add -resolutionunit option.
 3771 
 3772               pnmtopng: fix bugs, remove limitations with -text.
 3773 
 3774               pgmabel: Declare internal subroutines 'static'.
 3775               
 3776               pstopnm: fix bug: encapsulated postscript confused with 
 3777               regular postscript, so all pages get overlaid as one page.
 3778 
 3779               pnmrotate: Use smaller real memory working set.
 3780 
 3781               winicontoppm: use standard option parser.
 3782 
 3783               pnmflip: fix bug causing -r180 and -r270 to be ignored.
 3784               Thanks YANO Hirokuni <hyano@ya-no.com>.
 3785 
 3786               configure: fix bug with missing space when using CFLAGS
 3787               environment variable.
 3788 
 3789               Add CPPFLAGS and LOADLIBES to rules and 'configure' test
 3790               compiles.
 3791 
 3792               Issue error message if you do 'make package' before 'make'.
 3793 
 3794               Add VERSION file to package.
 3795 
 3796               Use explicit library file name on a link instead of -L/-l
 3797               where possible.
 3798 
 3799 03.04.27 BJH  Release 10.15
 3800 
 3801               Add pamtohtmltbl.  Thanks Alexander B. Ivanov <ssh@S-and-B.ru>.
 3802 
 3803               Add pampop9.  Thanks Robert Tinsley, 
 3804               <http://www.thepoacher.net/contact>.
 3805 
 3806               winicontoppm: Handle 24 bit direct color winicons.  Thanks
 3807               Lee Benfield <lee@benf.org>.
 3808 
 3809               pnmrotate: add -background option.
 3810 
 3811               pnmtojpeg: Add -density option.
 3812 
 3813               pamtotga: Fix bugs with images with alpha planes.
 3814 
 3815               libnetpbm: Add ppm_readcolornamefile().
 3816 
 3817               Make library and programs work with files > 2GB.  At least 
 3818               on GNU and AIX.
 3819 
 3820               pbmtext: Add -momargin option.  Thanks "Slaven Rezic"
 3821               <eserte@web.de>.
 3822 
 3823               pbmtoepsi: fix bug: non six-digit lines between 
 3824               %%BeginPreview: ... and %%EndImage .  Thanks
 3825               "K.Nakano" <ksk@seeds-man.com>.
 3826 
 3827               pnmrotate: fix bug: background color computed wrong.
 3828               
 3829               pnmrotate: fix bug: PBMs without -noantialias not properly
 3830               promoted to PGM.
 3831 
 3832               pnmtops: fix bug: 1 bit per sample output when maxval is 2
 3833               or 3.  Should be 4 bits per sample.
 3834 
 3835               pnmtops: fix bug: everything too dark when input maxval less
 3836               than Postscript maxval.
 3837 
 3838               pm_nextimage(): fix bug: doesn't read past white space at the
 3839               end of a plain-format raster.
 3840 
 3841               pnmremap: fix performance bug: don't put same color into hash
 3842               twice.  Thanks Hannu Koivisto <Hannu.Koivisto@ionific.com>.
 3843 
 3844               ppmtoxpm: Add -hexonly.  Default to system color dictionary.
 3845               Use standard library routines to access color dictionary.
 3846 
 3847               pnmcolormap: Keep only one row at a time in memory.
 3848 
 3849               bmptopnm: fix buffer overrun with wild ColorsUsed value.
 3850 
 3851               Change ordering of include files in parallel.c so it compiles
 3852               on AIX 5.
 3853 
 3854               configure: change -O2 to -O0 for broken gcc compiler.
 3855 
 3856               One more chop at the -R/-rpath issue: new defaults for Solaris.
 3857 
 3858 03.02.13 BJH  Release 10.14
 3859 
 3860               Add pamedge, adapted from pnmedge by Peter Kirchgessner, 1995.
 3861 
 3862               Add ppmwheel, adapted from ppmcirc by Peter Kirchgessner, 1995.
 3863 
 3864               Add ppmtoarbtxt, renamed from ppmtotxt by Peter Kirchgessner,
 3865               1995.
 3866               
 3867               pnmflip: add pnmflip directory to search path for pamflip.
 3868 
 3869               picttoppm: Recognize DirectBitsRgn opcode.  Thanks
 3870               <kabe@sra-tohoku.co.jp>.
 3871 
 3872               ppmbrighten: -normalize works with nonseekable input.
 3873 
 3874               jpegtopnm: Update exif stuff to match Jhead 1.9.
 3875 
 3876               bmptopnm: fix for the case of ColorsUsed != 0 in 
 3877               non-colormapped (24 bit) image.
 3878 
 3879               pbmtopgm: limit the maxval to legal values.
 3880          
 3881               pamarith: minimum output maxval of 2 for -compare.
 3882 
 3883               rgb.txt: remove redundant lines, clean up.
 3884 
 3885               pnmgamma: fix bug in -ungamma -cieramp. 1/gamma vs gamma.
 3886 
 3887               pnmtopng: fix bug: background color = transparent color in
 3888               colormapped image causes transparent color not to be
 3889               transparent.  Also make bilevel images with background color
 3890               use 1 bit per pixel instead of 2.
 3891 
 3892               pngtopnm: Fix bug: wrong exit code.
 3893 
 3894               Fix broken ISUPPER; affects sbigtopgm and color name functions
 3895 
 3896               pamflip: Use bundled strsepN() instead of strsep().
 3897 
 3898               giftopnm: fix bug with GIFs that (invalidly) contain translation
 3899               cycles.  Clean up LZW decompression so it is readable and more
 3900               robust.
 3901               
 3902               Add strsepN() to libnetpbm, because strsep() is not available
 3903               everywhere.
 3904 
 3905               Change --rpath to -rpath.
 3906 
 3907               Change LINKERISGCC to LINKERISCOMPILER and default to Y.
 3908 
 3909               configure: Handle explicit "none" response to svgalib prompt.
 3910 
 3911               Add merge.o (vs mergelist) method of doing merge build.
 3912          
 3913               Fix bug: jbig converters missing from merge build.
 3914 
 3915 03.01.09 BJH  Release 10.13
 3916 
 3917               Add pamlookup.
 3918               
 3919               Add pamflip: replacement of pnmflip.  Does PAM images and has
 3920               -xform option.
 3921 
 3922               Add pm_system().
 3923 
 3924               Ppmrainbow:  Add -norepeat option.
 3925 
 3926               tifftopnm: handle 32 bits per sample -- Use upper 16 bits.
 3927 
 3928               tifftopnm: add -byrow.
 3929 
 3930               pamarith:  Add -compare operator.
 3931 
 3932               ppmtompeg: Check for missing YUV_SIZE option with 
 3933               -combine_frames and -combine_gops.
 3934 
 3935               ppmtompeg: fix buffer overrun with invalid message received
 3936               by slave processor.
 3937 
 3938               pamseq: Fix crash/memory corruption.
 3939 
 3940               pamseq: Remove debugging statement.
 3941 
 3942               Add some protection against Netpbm images that indicate
 3943               dimensions too big to process without arithmetic overflow.
 3944 
 3945               Replace isdigit() with ISDIGIT(), etc.
 3946 
 3947               pnmnorm: malloc histogram array instead of using stack
 3948               variable to avoid stack overflow.
 3949 
 3950               thinkjettopbm: works with Solaris Lex.
 3951               
 3952               Add PKGDIR_DEFAULT Makefile.config variable.
 3953 
 3954               Configure: Test for old JPEG library without jpeg_marker_struct.
 3955 
 3956               Configure: Add -I/usr/local/include and -I/usr/local/lib to
 3957               OpenBSD and NetBSD compiles and links.
 3958 
 3959               Change make variable from INCLUDE to INCLUDES to avoid collision
 3960               with Cygwin environment variable.
 3961 
 3962 02.11.09 BJH  Release 10.12
 3963               
 3964               Add pamtojpeg2k, jpeg2ktopam.
 3965 
 3966               pnmtotiff: add test for seekable output.
 3967 
 3968               pnmflip: use packed PBM format to save memory.  Thanks
 3969               Ivan Karski <karski@nym.alias.net>.
 3970 
 3971               thinkjettopbm: replace getopt with shhopt to avoid header file
 3972               problem (getopt.h) on some systems.
 3973 
 3974               fix multiple definition problem with pm_plain_output.
 3975 
 3976               pgmminkowski, pgmmorphconv: fix bug: programs missing.  These
 3977               were formally added in 10.0, but the code never actually went in.
 3978 
 3979               pbmtomda: fix crash with input image not multiple of 4 rows.
 3980 
 3981               tgatoppm: fix segfault in option processing from recent
 3982               option processor change.
 3983 
 3984               Slight correction to coefficients in pnm_YCbCrtuple.
 3985 
 3986               Add pnm_YCbCr_to_rgbtuple() to libnetpbm.
 3987 
 3988               ppmtompeg: fix build failure with NETWORKLD=NONE.
 3989 
 3990               ppmtompeg: fix build error due to broken C library header files
 3991               on SunOS.
 3992 
 3993               Fix missing alias symlinks in merge build.
 3994 
 3995 02.10.17 BJH  Release 10.11
 3996          
 3997               Fix nstring.h, ppmcmap.h dependency in analyzer/.
 3998 
 3999               pnmtojpeg: Add -rgb option.
 4000 
 4001               jpegtopnm: Handle a stream of consecutive JPEGs.
 4002 
 4003               tifftopnm: use TIFFRGBAImageGet() so it works on compressed
 4004               images.
 4005 
 4006               'make distclean' deletes all symbolic links, even if I forget
 4007               to put them in HEADERLINKS so that 'make clean' gets them.
 4008 
 4009 02.10.10 BJH  Release 10.10
 4010 
 4011               Add -plain common option.  Thanks "John H. DuBois III"
 4012               <spcecdt@armory.com>.
 4013 
 4014               ppmhist: Add -colorname option
 4015 
 4016               pnmcomp: Add -align=beyondleft, -align=beyondright,
 4017               -valign=above, -valign=below and make -xoff and -yoff work
 4018               in conjunction with -align and -valign.  Idea from 
 4019               "John H. DuBois III" <spcecdt@armory.com>.
 4020 
 4021               manweb: Add ability to search through PATH for documentation
 4022               so you can just say 'manweb bmptopnm'.
 4023 
 4024               bmptopnm: fix bug from 10.9: 24 bit truecolor should be
 4025               BGR, not RGB.
 4026 
 4027               ppmtobmp: fix bug from 10.9: 24 bit truecolor should be
 4028               BGR, not RGB.
 4029 
 4030               pamarith: Fix bug with mixed depth inputs.
 4031          
 4032               pamarith: Fix bug with -subtract of larger # from smaller.
 4033 
 4034               pnmstitch: fix bug causing segfault at end.
 4035 
 4036               pgmtopgm, ppmtoppm: Issue error message if arguments given.
 4037 
 4038               giftopnm: remove debugging messages.
 4039 
 4040               Fix line number in color dictionary error messages.
 4041 
 4042               Fix build errors on systems that don't do "echo -n" by using
 4043               cat /dev/null instead.
 4044 
 4045               Fix build errors that cause the data files not to get installed.
 4046               
 4047               Merge build: fix install of other/ programs and add NETWORKLD
 4048               to the link.
 4049 
 4050               Merge build: add missing backward compatibility 'pnmfile' link.
 4051 
 4052               Add SCO OpenServer to configure dialog.  Thanks
 4053               John H. DuBois III <spcecdt@armory.com>
 4054 
 4055               Add FreeBSD to the configure dialog.
 4056 
 4057 02.09.21 BJH  Release 10.9
 4058 
 4059               Add pgmtopgm.
 4060 
 4061               Add ppmtoppm.
 4062 
 4063               Add ppmtoterm.  Thanks Ero Carrera <ecarrera@lightforge.com>.
 4064 
 4065               Add ppmrough.  Thanks Eckard Specht
 4066               <specht@hydra.nat.uni-magdeburg.de>.
 4067 
 4068               Add rgb.txt
 4069 
 4070               pnmquant: make it work with pipe input; fix crash due to 
 4071               half-finished work accidentally released a few releases ago.
 4072 
 4073               bmptopnm: Use way less memory by inverting image while still
 4074               in the BMP raster format (as little as 1 bit per pixel), 
 4075               instead of in the libnetpbm format (96 bits per pixel).
 4076 
 4077               ppmhist: Reads image into memory one row at a time instead
 4078               of entire image in memory at once.
 4079 
 4080               ppmshadow: make it work with non-PPM input.
 4081 
 4082               ppmshadow: Don't run a shell for every Netpbm program.
 4083 
 4084               xwdtopnm, pnmtoxwd: make them work on 64-bit-long machines.
 4085               
 4086               ppmdither: Fix subscript out of bounds bug which caused
 4087               random intensity values for the most intense pixels (and
 4088               very slightly too-intense values everywhere).
 4089 
 4090               ppmtobmp: Fix bug in 24 bit truecolor: was writing B, G, R
 4091               but standard appears to be R, G, B (per bmptopnm and xli).
 4092 
 4093               pamarith: restore pnmarith capability of having one of the
 4094               inputs be depth 1 while the other is not.
 4095 
 4096               pnmtopclxl: fine tuning of PBM input case.
 4097 
 4098               remove pnmfile; obsoleted by pamfile.
 4099 
 4100               ppmfade, ppmshadow: Change #!/bin/perl to #!/usr/bin/perl.
 4101 
 4102               Add a bunch of missing #include <string.h> and fix scanf type
 4103               mismatches, per gcc 3.2 compiler warnings.
 4104 
 4105               Add some missing -R options to links.
 4106 
 4107 02.08.16 BJH  Release 10.8
 4108   
 4109               Build: Fix Configure bug with JPEG headers in default path.
 4110 
 4111               Pnmtopclxl: fix bug with PBM input not multiple of 8 across.
 4112 
 4113 02.08.15 BJH  Release 10.7
 4114 
 4115               Pnmtopclxl: remove padBytesMultiple attribute, which doesn't
 4116               exist on old printers.
 4117 
 4118               Pnmtopclxl: fix MediaDestination parameter value.
 4119 
 4120               Pnmtopclxl: make options parsed by standard Netpbm
 4121               option parser; remove unconventional (and broken)
 4122               --output option.  Fix crash with Standard Input input.
 4123               Check whole length given for option values.
 4124 
 4125               pnmflip: Add -memsize and -pagesize.  Make other options
 4126               conventional - only one transformation allowed.
 4127 
 4128               Make 'configure' a Bourne Shell program that calls configure.pl.
 4129 
 4130               Add pnmstitch.  Thanks Mark Salyzyn <salyzyn@cfl.rr.com>.
 4131 
 4132               Fix -R stuff to fix Solaris build.
 4133               
 4134               Add lots of consts, remove dead code, with the help of 
 4135               GNU compiler warnings.
 4136 
 4137 02.07.29 BJH  Release 10.6
 4138 
 4139               Add pnmtopclxl.  Thanks Jochen Karrer
 4140               <cip307@cip.physik.uni-wuerzburg.de>.
 4141 
 4142               Add pnmstitch code; not working yet.
 4143 
 4144               pnmmontage: add -data option.  Thanks Ben
 4145               <bem@mad.scientist.com>.
 4146 
 4147               pamtotga: Add alpha capability, via "RGBA" tuple type.
 4148 
 4149               pamtotga: put "image ID" in TGA output.
 4150 
 4151               ppmtotga: take PAM input; rename dot 'pamtotga'.  Former name
 4152               was a misnomer anyway; it was always a PNM program because it
 4153               distinguished between PGM and PPM input.
 4154 
 4155               pamtotga: Add alpha capability, via "RGBA" tuple type.
 4156 
 4157               pamtotga: put "image ID" in TGA output.
 4158 
 4159               pnmcomp:  Add -opacity option.
 4160 
 4161               pbmtog3: Add -nofixedwidth option.  Vladimir Nadvornik
 4162               <nadvornik@suse.cz>
 4163 
 4164               ppmtopgm: upgrade to handle multi-image PPM file.
 4165 
 4166               icontopbm: fix bugs with invalid input formats.  Thanks
 4167               Vladimir Nadvornik <nadvornik@suse.cz>
 4168 
 4169               ppmtompeg: fix crash with logarithmic psearch algorithm and
 4170               non-power-of-2 search range.
 4171 
 4172               configure: fix use of compiler other than cc.  Thanks
 4173               Ben <bem@mad.scientist.com>.
 4174 
 4175               Fix Cygwin library build for default DLLVER.
 4176 
 4177               Fix file handle problem with Configure on old Perl.
 4178 
 4179               Don't use .defs file/run dlltool (Windows).
 4180 
 4181 02.07.14 BJH  Release 10.5
 4182          
 4183               Make library link on Solaris with GNU Ld work.  Thanks
 4184               Russel Winder <russel@russel.org.uk>.
 4185 
 4186               Make Configure not depend on File::Temp.
 4187 
 4188 02.07.09 BJH  Release 10.4
 4189 
 4190               Fix space after -I bug in Makefile.common, lib/Makefile.
 4191 
 4192               Change a bunch of macros to upper case; avoid name collision
 4193               of round() with math library.
 4194 
 4195               Configure detects broken gcc, sets -O2.
 4196 
 4197               Configure detects jpeg headers not in default search path.
 4198 
 4199 02.07.02 BJH  Release 10.3
 4200 
 4201               Add pamfunc.
 4202 
 4203               Add pgmabel.  Thanks Volker Schmidt <lefti@voyager.boerde.de>.
 4204 
 4205               pamslice: add -xmgr option.
 4206                        
 4207               pgmslice: upgrade to pamslice.
 4208          
 4209               pamarith: add -mean option.
 4210 
 4211               pnmarith: upgrade to pamarith.
 4212 
 4213               pnmtopng: add -palette option.  Functional copy from
 4214               "Pnmtopng" package.
 4215 
 4216               pbmtoepsi: Add -dpi option.  Thanks Bill Cheng
 4217               <bill.cheng@acm.org>
 4218 
 4219               tifftopnm: make -respectfillorder work.
 4220 
 4221               pnmtopng: fix bugs in handling of text comment files.
 4222               Taken from "Pnmtopng" package.
 4223 
 4224               pnmtopng: fix -hist option.
 4225 
 4226               Cygwin build accommodations.  Thanks Charles Wilson 
 4227               <cwilson@ece.gatech.edu>.
 4228 
 4229               Fix ppmtompeg build failure when JPEGLIB = NONE
 4230 
 4231               Fix missing -R link options.
 4232 
 4233 02.06.14 BJH  Release 10.2
 4234          
 4235               Works with separate build directory.
 4236 
 4237               pnmnorm: fix precision error causes whites to become black
 4238 
 4239               Fix bug: Pbmpage needs math library
 4240 
 4241 02.06.07 BJH  Release 10.1
 4242 
 4243               ppmmake: add -maxval option
 4244 
 4245               pgmramp: add -maxval option
 4246 
 4247               Add pamseq.
 4248 
 4249               ppmcolors: base on pamseq.
 4250 
 4251               pnmtotiff: Fix bug in -indexbits.
 4252 
 4253               Fix runtime library paths for Darwin, Netbsd
 4254 
 4255               installnetpbm: Fix infinite loop when you refuse manweb.conf.
 4256 
 4257               installnetpbm: Add mode to mkdir for older Perl.
 4258 
 4259               installnetpbm: Use BSD option on Cp if not GNU.
 4260 
 4261 02.06.01 BJH  Release 10.0
 4262          
 4263               Man pages replaced by web pages -- either private copies
 4264               or straight from Netpbm Central.  Documentation distributed
 4265               via Worldwide Web, not in the Netpbm source code tarball.
 4266 
 4267               Reorganize source tree.  Combine 4 Netpbm libraries into 1.
 4268               Make merge build merge ALL programs into one.
 4269 
 4270               Add pamendian.
 4271 
 4272               Add pamstack.
 4273 
 4274               Add pamtohdiff, hdifftopam.
 4275          
 4276               Add pbmtextps.  Thanks James McCann <jmccann@eskimo.com>.
 4277 
 4278               Add pgmminkowski, pgmmorphconv.  Thanks Luuk van Dijk
 4279               <lvd@mndmttr.nl>
 4280 
 4281               pnmtotiff: Add -indexbits option to allow fewer than 8 bits
 4282               per sample in apletted image.  Thanks Thomas Henlich.
 4283               <http://sourceforge.net/users/thenlich/>.
 4284 
 4285               pnmtotiff: put zeroes in unused colormap entries.  Thanks
 4286               Thomas Henlich <http://sourceforge.net/users/thenlich/>.
 4287          
 4288               pbmtext:  Add -lspace option.  Thanks Denis <denism@cyberus.ca>.
 4289 
 4290               ppmqvga: remove; appears to be obsoleted by Pnmquant.
 4291 
 4292               pnmtops: remove setpagedevice by default.  Add -setpage option.
 4293 
 4294               ppmtouil: rename to pamtouil, add transparency.
 4295 
 4296               pamchannel: Add -tupletype option.
 4297 
 4298               pstopnm: Add a showpage in case the EPS source doesn't have it.
 4299               Thanks "J. Milgram" <milgram@cgpp.com>.
 4300 
 4301               pstopnm: Run Ghostscript directly instead of via a shell.
 4302               Some Windows environments don't have a Bourne-compatible shell.
 4303 
 4304               pnmtotiff: Don't put bogus colormap in grayscale TIFF.
 4305               Thanks Thomas Henlich  <http://sourceforge.net/users/thenlich/>.
 4306 
 4307               picttoppm, ppmtompeg, rletoppm: fix bug with invalid parameter
 4308               ("b" modes) on popen().
 4309 
 4310               pnmtopng: fix bug with 'mayscale'.
 4311 
 4312               pnmnorm: Fix bug with bvalue == 0.  Thanks "Blake, Chris" 
 4313               <chris.blake@windriver.com>
 4314 
 4315               pnmtopng: restructure palette generation to make it
 4316               easier to read.
 4317 
 4318               configure: Add --help.
 4319 
 4320               Add Windows DLL versioning.  Thanks Charles Wilson 
 4321               <cwilson@ece.gatech.edu>.
 4322          
 4323               Add Nstring library, so Netpbm programs can use asprintf(), etc.
 4324 
 4325 02.03.15 BJH  Release 9.25
 4326 
 4327               Add pamdice.
 4328          
 4329               pnmgamma: add -srgbramp.
 4330 
 4331               ppmnorm, pgmnorm: replace with pnmnorm
 4332 
 4333               ppmnorm: Read only a row at a time into memory.
 4334          
 4335               ppmnorm: Add -keephues option.
 4336 
 4337               pnmtotiff: Add -miniswhite option.
 4338 
 4339               pnmtopsnr: Read only a row at a time into memory.
 4340 
 4341               Convert bmptoppm to bmptopnm.
 4342 
 4343               ppmtopcx: Add -xpos, -ypos options.
 4344 
 4345               pcxtoppm: Don't require seekable input.
 4346 
 4347               pcxtoppm: Improve messages; add some PCX header validation.
 4348 
 4349               ppmtowinicon: Use standard alpha mask (PGM image) instead of
 4350               PPM image (black/not black) for and file.
 4351 
 4352               pnmpad: Add -width, -height, -halign, -valign options.
 4353               Thanks M. van Beilen <mvb@iradis.org>.
 4354 
 4355               ppmhist: remove 100,000 color limit.
 4356 
 4357               pnmnlfilt: works with multi-image streams.  Thanks 
 4358               "Steven M. Schultz" <sms@2BSD.COM>.
 4359 
 4360               pcxtoppm: Fix bug with negative image position.
 4361 
 4362               pnmtopsnr: fix unsigned integer bug giving wrong results on PGMs.
 4363 
 4364               libpnm: fix bug: PAM functions write 16 bit samples wrong.
 4365 
 4366               Tifftopnm: fix bug: transparency mask all wrong.  Thanks
 4367               Heikki Suonsivu <hsu@bbnetworks.net>.
 4368 
 4369               Makefile improvements for cross compiling.  Thanks
 4370               "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>.
 4371  
 4372               Allow build with existing JBIG library instead of the
 4373               bundled one.  Thanks "Maciej W. Rozycki"
 4374               <macro@ds2.pg.gda.pl>.
 4375 
 4376               ppmtompeg Makefile: include -R option where needed.
 4377               Thanks Hans Werner Strube <strube@physik3.gwdg.de>.
 4378 
 4379               Add BSD/OS to configure program.  
 4380               Thanks seebs@plethora.net (Peter Seebach)
 4381 
 4382               install uses supplied install.sh instead of an 'install program
 4383               it finds on your system.
 4384 
 4385               configure: Fix missing newline bug for IRIX.
 4386 
 4387 02.01.27 BJH  Release 9.24
 4388 
 4389               Add ppmsvgalib.
 4390               
 4391               pnmremap: Use full color resolution of input instead of that
 4392               of color map to do Floyd-Steinberg dithering.
 4393          
 4394               pnmremap: fix bug where Floyd-Steinberg dithering of very 
 4395               dark areas creates spots of maximal brightness.
 4396 
 4397               ppmquant: fix same bug as pnmremap.
 4398 
 4399               pnmscale: add -nomix option
 4400 
 4401               rawtopgm: fix bug.  Thanks Joe Krahn <krahn@niehs.nih.gov>.
 4402               
 4403               pnmquant: replace with a Perl program that calls
 4404               pnmcolormap and pnmremap.
 4405 
 4406               Fix bug: PAM library routines fail to read 2-byte samples.
 4407          
 4408               fix bug: install-dev doesn't install mappam.h.
 4409 
 4410               configure sets up install paths.
 4411 
 4412               make install does Ldconfig where required.
 4413          
 4414               pnmtops: Add "XxY" form of -dpi option.  Thanks Vladimir 
 4415               Nadvornik <nadvornik@suse.cz>
 4416 
 4417               ppmtomap: rewrite to call the new pnmcolormap.
 4418 
 4419               pnmscale: clean up code a little; now it appears to produce
 4420               somewhat better results -- don't know why.
 4421 
 4422               exif.h: remove C++ comments
 4423 
 4424               various fixes to please Irix compiler.
 4425 
 4426               Change some "long" to "uint32n" so it works on 64 bit 
 4427               machines.
 4428 
 4429 02.01.04 BJH  Release 9.23
 4430 
 4431               tifftopnm: fix bug from 9.22: always crashes.
 4432 
 4433               xpmtoppm: fix bug from 9.21: XPM 3 files not recognized because
 4434               /* XPM */ comment read twice.
 4435                          
 4436               xwdtopnm: Use bitmap_pad instead of bitmap_unit on X11 pixmap
 4437               files with depth > 1.  Thanks "Ben Kelley" <ben_kelley@ubsw.com>.
 4438 
 4439               pnmtopalm: fix bug: crashes with -colormap and non-color input.
 4440 
 4441               ppmforge: fix bug: array subscripts out of bounds.  Thanks
 4442               Rob Menke <robmenke@mac.com>.
 4443 
 4444               giftopnm: fix bug with extraneous "bogus character 0x00" message
 4445 
 4446               tifftopnm: add -respectfillorder option.  Ignore FILLORDER
 4447               by default.
 4448 
 4449               make install-dev: install shared library stub files (symlinks).
 4450               
 4451               ppmtogif: Fix bug: color resolution in wrong bits in logical
 4452               screen descriptor.  Thanks Elmue <elmue@gmx.de>.
 4453 
 4454               Add -lz to Tiff programs; libtiff requires it now.
 4455 
 4456               Add ppmcolors.
 4457 
 4458               Add pnmremap.
 4459 
 4460               Add pnmcolormap.
 4461 
 4462               pnmtops: Include setpagedevice directive in Postscript output.
 4463               Thanks A Braunsdorf <ab@eas.purdue.edu>.
 4464 
 4465               pnmtops: turn-to-fit logic works properly where paper is 
 4466               wider than tall.  Thanks A Braunsdorf <ab@eas.purdue.edu>.
 4467 
 4468               giftopnm: cleanup
 4469          
 4470 01.12.10 BJH  Release 9.22
 4471 
 4472               Fix bug: pnm_luminosity_factor must be "extern" in pam.h
 4473 
 4474               pbmtonokia: can create picture messages.  -txt, -net options.
 4475 
 4476               tifftopnm: Accept invalid FILLORDER value - assume msb-to-lsb.
 4477 
 4478 01.12.01 BJH  Release 9.21
 4479 
 4480               Add pamdeinterlace.
 4481 
 4482               Add pnmquant.
 4483 
 4484               pnmtops: Accept maxval > 255 input.
 4485          
 4486               Rename pnminterp to the more informative pnmstretch and
 4487               pnminterp-gen to pamstretch-gen.
 4488 
 4489               pnmstretch: convert from pnm to pam - pamstretch.
 4490 
 4491               pamstretch: add -xscale, -yscale options
 4492 
 4493               pbmtolj: Add -copies option
 4494 
 4495               ppmtogif: Add secret -h option to make Latex2html configure
 4496               program work.
 4497 
 4498               ppmquant: output maxval controlled by colormap maxval,
 4499               not input maxval.
 4500 
 4501               pbmclean: Add -black and -white options.  Thanks
 4502               Michael Sternberg <sternberg@phys.uni-paderborn.de>.
 4503 
 4504               xpmtoppm: Don't require input to start with a comment.
 4505               Thanks MINAMI <minami@chem.s.u-tokyo.ac.jp>.
 4506 
 4507               xpmtoppm: Fix bug introduced with 9.20 with XPM 1 files.
 4508 
 4509               pnmcut, pamcut: fix bug with cut that begins past right edge
 4510               of image.
 4511          
 4512               pamcut: Same fix as in pnmcut in 9.9.  Also fix black fill.  
 4513 
 4514               pnmtotiff:  Process one row at a time instead of reading
 4515               entire image into memory.  Add -color, -truecolor.
 4516 
 4517 01.10.05 BJH  Release 9.20
 4518 
 4519               ppmtogif: Add -nolzw option.
 4520 
 4521               ppmntsc: do multiple images
 4522 
 4523               pnmtojpeg: fix bug from 9.19 causing crash on most images.
 4524 
 4525               ilbmtoppm: Correct cmyk -> rgb transformation.
 4526 
 4527               ppmtompeg: Fix bug due to missing "breaks".  Thanks
 4528               Wolfgang Mueller <muellerw@pc7143.unige.ch>    
 4529 
 4530               eyuvtoppm: fix memory leak, speed up by allocating working
 4531               storage only once.
 4532 
 4533               libopt.c: replace strtok_r() with strtok() so it compiles on
 4534               Mac OS X.
 4535          
 4536 01.09.18 BJH  Release 9.19
 4537 
 4538               pnmtotiff: fix bug from 9.17 causing compile to fail
 4539               with old Tiff library
 4540 
 4541               pnmtojpeg: Add -exif option.
 4542 
 4543               ppmtojpeg: Change to pnmtojpeg; PBM/PGM input causes grayscale
 4544               output.
 4545 
 4546               pnmtotiff: Handle LSB2MSB FILLORDER.
 4547 
 4548               pnmtotiff: Fix -msb2lsb, -lsb2msb.  Used to do nothing but 
 4549               set FILLORDER tag value.
 4550 
 4551               Make maxval of a PBM image read as a PGM image 255 instead of 1.
 4552               
 4553               libpbm: eliminate external data symbol pm_show_version
 4554               so it works with Windows.
 4555 
 4556               Use subplatform-specific prefixes on Windows shared libraries.
 4557               Thanks Charles Wilson <cwilson@ece.gatech.edu>.
 4558 
 4559 01.09.04 BJH  Release 9.18
 4560 
 4561               Fix bug from 9.17: -lm now needed in jpegtopnm link.
 4562 
 4563               jpegtopnm: Add -dumpexif and -exif options.
 4564 
 4565               pnmtotiff: Fix bug: 16 bit samples byte-swapped on little-
 4566               endian machines.
 4567 
 4568               Remove C++ comments from exif.c
 4569 
 4570 01.09.03 BJH  Release 9.17
 4571 
 4572               Add ppmtoneo, neotoppm.  Thanks Teemu Hukkanen <tjhukkan@iki.fi>.
 4573 
 4574               pnmtotiff:  Add -flate, -adobeflate.  Thanks Peter Creath.
 4575 
 4576               pnmindex: Fix bug with -size option.  Thanks 
 4577               André Majorel <amajorel@teaser.fr>
 4578 
 4579               pnmflip: Fix memory leak, plus make special case for PBM
 4580               images that uses 12 times less memory.  Thanks
 4581               Stefan Roellin <stefan.roellin@switzerland.org>.
 4582           
 4583               tifftopnm: Fix incorrect interpretation of FILLORDER tag
 4584               causing incorrect output with 16 bit samples and
 4585               FILLORDER not msb2lsb.  Thanks Don Reid
 4586               <donr@cvs.agilent.com>.
 4587 
 4588               tifftopnm: Fix PHOTOMETRIC_MIN_IS_WHITE case.
 4589               Thanks Don Reid <donr@cvs.agilent.com>.
 4590 
 4591               giftopnm: Fix bug with malformed GIFs that end prematurely.
 4592 
 4593               pbmtonokia: Convert C++ style comments to C style so Sun C
 4594               compiler can handle them.  Thanks Jon Parise <jon@csh.rit.edu>.
 4595 
 4596               Install development package (header files, static libraries)
 4597               by default.  Add ability to build both static and shared
 4598               libraries.
 4599 
 4600               Add merge/nonmerge to Makefile.config/configure, in place
 4601               of special make targets.
 4602 
 4603               Fix Mac OSX build for gcc 3.0.  Thanks m-sekino@mb.kcom.ne.jp 
 4604               (Masanori Sekino)
 4605 
 4606               Fix make install.hdr.  Thanks m-sekino@mb.kcom.ne.jp 
 4607               (Masanori Sekino)
 4608 
 4609 01.07.24 BJH  Release 9.16
 4610 
 4611               Builds on Darwin/Mac OS.  Thanks m-sekino@mb.kcom.ne.jp 
 4612               (Masanori Sekino)
 4613 
 4614               Add pbmtopsg3.  (Postscript G3 fax) Thanks Kristof Koehler 
 4615               <kristof@fachschaft.physik.uni-karlsruhe.de>
 4616 
 4617               Add pbmtonokia.  Thanks Tim.Ruehsen@OpenMediaSystem.de.
 4618 
 4619               Add ppmrainbow.  Thanks Arjen Bax <arjen.bax@cmg.nl>.
 4620 
 4621               Add pamoil, as replacement for pgmoil.  Based on ppmoil by
 4622               Chris <cesheppa@midnightsun.uwaterloo.ca>.
 4623 
 4624               ppmtogif:  Add -alpha option.
 4625 
 4626               ppmtojpeg: fix bug: option takes as input filename.
 4627 
 4628               xpmtoppm: fix bug: Bogus EOF failure.  Thanks 
 4629               "Dr. Larry Pyeatt" <pyeatt@redwood.cs.ttu.edu>.
 4630               
 4631               pnmtopng/pngtopnm: update to Release 2.37.5 of the pnmtopng
 4632               package.  Make -transparent option work like ppmtogif --
 4633               you can add an "=" before the color to specify "exact".
 4634               fix bug with background color and maxval = 65535.  Fix a 
 4635               raft of bugs in pnmtopng from Netpbm 9.15.
 4636 
 4637               Remove Tiff library from the package.
 4638 
 4639               Proper naming of AIX and HP-UX shared libraries.
 4640 
 4641               giftopnm: Add color index to transparency message.
 4642 
 4643               Add some -R link options in make files.
 4644 
 4645               ppm3d: fix bug: ignores offset argument.
 4646 
 4647               tifftopnm: fix bug: shifted right one pixel.
 4648          
 4649               pnmshear: remove sscanf so it works better with Cygwin,
 4650               convert to shhopt, clean up.
 4651 
 4652               pgmcrater: Remove black vertical line at right
 4653               edge. Make craters wrap around the image (enables tiling
 4654               of image).  Thanks Arjen Bax.
 4655               
 4656               pgmtopbm: remove sscanf so it works better with Cygwin.
 4657               Thanks Arjen Bax.
 4658 
 4659               Treat all white space, including DOS carriage returns,    
 4660               in color name db file as white space;  Thanks Arjen Bax.
 4661 
 4662 01.06.24 BJH  Release 9.15
 4663 
 4664               Change format specs to state that sample values are
 4665               nonlinear instead of linear.
 4666 
 4667               pnmtopalm/palmtopnm: Handle PalmOS 4.0 16 bit direct
 4668               color format.  Thanks  Bill Janssen  <janssen@parc.xerox.com>.
 4669 
 4670               pnmgamma: Add CIE Rec 709 gamma correction option.
 4671 
 4672               pnmgamma: Add -ungamma option
 4673               
 4674               ppmcie: Add -rec709 color system option as default so
 4675               that it produces true PPM output (per the new spec) and
 4676               carefully document what the program generates.
 4677               
 4678               ppmcie (work done by Andrew Hamilton
 4679               <Andrew.Hamilton@colorado.edu> in May 1999 but not
 4680               distributed):
 4681 
 4682                  1. Corrected the XYZ -> RGB transformation;
 4683                  2. Eliminated the -interpwp option, a fudge which had been
 4684                     necessitated by the incorrect XYZ -> RGB transformation;
 4685                  3. Added a Gamma correction, missing in the original;
 4686                  4. Added the option to plot u' v' chromaticity instead of x y;
 4687                  5. Added options to suppress labels and/or axes.
 4688 
 4689               pnmscale, pnmscalefixed:  Fix bug with unwanted -verbose
 4690               behavior.
 4691 
 4692               pnmscale, pnmscalefixed: Add -reduce option.  Thanks
 4693               Christopher W. Boyd <cboyd@pobox.com>
 4694 
 4695               ppmtoeyuv: Speed up by not freeing/reallocating storage for
 4696               each image.  Thanks "Steven M. Schultz" <sms@moe.2bsd.com>
 4697 
 4698               ppmtoeyuv: Fix memory leak.
 4699 
 4700               Eliminate pgm_pbmmaxval, ppm_pbmmaxval, and pnm_pbmmaxval
 4701               from libpgm, libppm, and libpnm.  'maxval' argument to 
 4702               pgm_readpgmrow() and ppm_readppmrow() already accomplishes
 4703               this.  pnm_readpnmrow() changed to do same.  external data
 4704               symbols like this do not work with Mingw.
 4705          
 4706               various changes to accommodate Mingw (native Windows)
 4707               and DLLs with Cygwin (Windows).
 4708 
 4709               eyuvtoppm: rewrite.  Uses Netpbm libraries now.
 4710 
 4711               pstopnm: Remove gratuitous 5% margin.  Add -equalpixels,
 4712               -imageheight, and -imagewidth options.
 4713 
 4714               pnmtopng: Read only one row at a time, not the whole image,
 4715               into memory.  Do multiple passes through the (hopefully
 4716               fully cached) file.  This saves memory because pnmtopng's
 4717               internal format may use 96 times as much space per pixel 
 4718               as the file.
 4719 
 4720               libpbm: Add pm_openr_seekable(), pm_seek(), pm_tell().
 4721 
 4722               libppm: Add ppm_computecolorhash2(), ppm_computecolorhist2().
 4723 
 4724               configure: fix bug with Solaris/Sun compiler.
 4725 
 4726               Split pbmplus.h into pm_config.h and pbm/pm.h to prepare
 4727               for automatic generation of pm_config.h.  Move pm_*()
 4728               subroutines from libpbm1.c to new libpm.c for clarity.
 4729 
 4730               Remove malloc.h from 411toppm.  malloc is included by
 4731               pm_config.h, in platform-dependent way.
 4732 
 4733 01.05.13 BJH  Release 9.14
 4734 
 4735               fix bug in shhopt causing wild branches.
 4736 
 4737               winicontoppm: Make alpha mask ("and") output PBM instead
 4738               of PPM; correct sense so white is opaque, black transparent.
 4739 
 4740               ppmtoxpm: Add --alphamask option.  Remove 256 color limit.
 4741          
 4742               xpmtoppm: Add --alphaout option
 4743          
 4744               ppmtogif: Add "=" to -transparent option to specify exact
 4745               color.
 4746 
 4747               configure: change /bin/perl to /usr/bin/perl.  Red Hat Linux
 4748               doesn't have /bin/perl.
 4749 
 4750               pnm/Makefile: correct bugs in link.  Thanks J Scott Berg 
 4751               <jsberg@bnl.gov>
 4752 
 4753               Make it build on Unixware.
 4754 
 4755               Make it build on OpenBSD.
 4756 
 4757               document color indexing and histogram functions.
 4758 
 4759 01.04.22 BJH  Release 9.13
 4760 
 4761               ppmtogif: fix divide by zero
 4762 
 4763               move much of README file into a new master man page, netpbm.1.
 4764 
 4765               pnmcomp: add -align and -valign options.
 4766               
 4767               Add thinkjettopbm.  Thanks Eric Norum <eric.norum@usask.ca>.
 4768 
 4769               Builds with Sun compiler.
 4770 
 4771 01.03.25 BJH  Release 9.12
 4772 
 4773               Add 411toppm.  Thanks Steve Allen <sla@alumni.caltech.edu>.
 4774 
 4775               pnmcrop:  add -sides option (does what was default
 4776               behavior until July 2000)
 4777 
 4778               ppmtoeyuv: Use netpbm libraries, deal with multi-image
 4779               input.
 4780 
 4781               Add color row color map and Floyd-Steinberg functions from
 4782               ilbm package to libppm.
 4783 
 4784               ilbmtoppm, ppmtoilbm: replace with Ingo Wilken's version from
 4785               April 13, 1995.
 4786 
 4787               jpegtopnm: fix crash with B&W JPEG input.
 4788 
 4789               pnmcomp: fix bug: invalid output image when overlay image
 4790               is "higher" format than underlying image.
 4791 
 4792               ppmchange: fix bug: wouldn't work with maxval != 255.
 4793 
 4794               pnmtojbig: fix bug: it always says invalid maxval. 
 4795               Thanks Bill Davidsen.
 4796 
 4797               pbmtext: fix bug: output is sometimes "not implemented"
 4798               because of uninitialized variable.
 4799 
 4800               pnmpsnr: rewritten so as not to use Fiasco library.
 4801               Correctly handles maxval != 255.  Works with PAM.
 4802 
 4803               Add IRIX to the configure program.  Thanks Neil Franklin 
 4804               <franklin@arch.ethz.ch>.
 4805 
 4806               make files: add ZLIB_DIR and ZHDR_DIR variables to
 4807               Makefile.config.  Thanks Bill Janssen.  
 4808               <janssen@parc.xerox.com>
 4809 
 4810               pcdindex: convert from csh to sh.  Thanks Steve McIntyre.
 4811 
 4812 01.02.20 BJH  Release 9.11
 4813 
 4814               pnmtopalm: Handle 16 bit direct color format.
 4815 
 4816               pnmtotiff: Add -xresolution and -yresolution options.
 4817               Thanks Tim Ruehsen.
 4818 
 4819               Add error message to GNUMakefile for when GNU Make is too old.
 4820 
 4821               pnmpsnr: fix bug: PGM files always compared equal.
 4822 
 4823               libpbm: improve --version to reflect that libraries are
 4824               usually dynamically linked now, so it's the version of
 4825               libpbm, not the program itself.
 4826 
 4827               pbmtext: add -space option.
 4828 
 4829               asciitopgm: fix crash due to memcpy that should be memset.
 4830               Thanks Philipp Knirsch <pknirsch@redhat.com>.
 4831 
 4832               pktopbm: fix numerous bugs.  Copied from Red Hat.  By
 4833               jcn <janneke@gnu.org> 1998.09.22.
 4834 
 4835               pstopnm.csh: fix bomb when xres=yres.  This program is
 4836               obsolete (use pstopnm.c instead), but the patch was free,
 4837               so why not?  Copied from Red Hat.  By Nalin Dahyabhai
 4838               <nalin@redhat.com> 2000.02.14.
 4839 
 4840               pnmtotiff: Make photometric for G3/G4 fax MINISWHITE 
 4841               instead of MINISBLACK.  Add -minisblack option.  Thanks
 4842               Eric Smith <eric@brouhaha.com>.
 4843 
 4844               libppm/ppm_parsecolor: fix rounding error for very small
 4845               maxvals (e.g. PBM files -- maxval = 1).
 4846          
 4847               pnmtopalm, palmtopnm: minor updates
 4848               
 4849               bmptoppm: handle BMPs that use ColorsUsed instead of
 4850               bits per pixel to determine color map size.
 4851 
 4852               bmptoppm: add -verbose option.
 4853 
 4854               ppmquant: fix bug with maxval > 255 causing arithmetic
 4855               overflow and arbitrary colors in output.
 4856 
 4857 01.01.10 BJH  Release 9.10
 4858 
 4859               giftopnm: add -alphaout.
 4860 
 4861               ppmchange: Add -remainder option.
 4862 
 4863               Add pnmtopalm, palmtopnm.  Thanks Bill Janssen 
 4864               <bill@janssen.org>.
 4865 
 4866               Add pnmmontage.  Thanks Ben Olmstead <bem@mad.scientist.com>.
 4867 
 4868               ppmtogif: Add -comment option.
 4869 
 4870               ppmtogif: fix bug: created GIF89 when it should have created
 4871               GIF87.
 4872 
 4873               giftopnm: fix bug in displaying of comment extensions.
 4874 
 4875               jpegtopnm: Add -comments option.
 4876 
 4877               ppmtojpeg: Add -comment option.
 4878 
 4879               ppmtompeg: fix crash.  Thanks  Roger Southwick 
 4880               <rogers@mediaforte.com>
 4881 
 4882               More work on separating source and build directories.
 4883               GNU Make 3.77 or better now required.
 4884 
 4885 00.11.20 BJH  Release 9.9
 4886 
 4887               add ppmtolj: color HP Laserjet graphics (PCL).  Thanks
 4888               Jonathan.Melvin@heywood.co.uk.
 4889 
 4890               ppmfade: add -mix option.
 4891 
 4892               ppmhist: add -noheader option.
 4893 
 4894               rawtopgm: Add --bpp, --maxval, and --littleendian options.
 4895 
 4896               pnmindex: Add -noquant, -title options.
 4897 
 4898               pnmtotiff: create 16 bits-per-sample Tiff files when 
 4899               maxval > 255 instead of crash.
 4900 
 4901               tifftopnm: handle 16 bits-per-sample Tiff files.
 4902 
 4903               pnmscale: Use floating point arithmetic instead of 12 bit
 4904               fixed point to reduce distortion at right and bottom edge of
 4905               large images with weird scaling factors.  Add pnmscalefixed,
 4906               which is the old fixed point pnmscale, which goes faster.  But
 4907               also fix bug in the fixed point version so the distortion 
 4908               isn't as bad.  Add -verbose option.
 4909 
 4910               pnmcut: fix bug: right edge wrong or subscript out of bounds.
 4911               Thanks MURAKAMI Masahiko <muramasa@np.catv.ne.jp>,
 4912               Sven Over <sven.over@web.de>, Frederic Vivien 
 4913               <vivien@lcs.mit.edu>, Pete Weisz <pete@pw34.resnet.cornell.edu>.
 4914 
 4915               xpmtoppm: fix reading of 4-character color codes; handles
 4916               "NONE" color (transparent background); add -v.  Thanks
 4917               Martin Vermeer <martin.vermeer@hut.fi>.
 4918 
 4919               ppm/Makefile: fix bug: ppmtompeg, hpcdtoppm not installed.
 4920               Thanks Mike Castle <dalgoda@ix.netcom.com>.
 4921 
 4922               ppmpspread: fix bug: invalid memory reference crash.  Thanks
 4923               digger <jfk666@poczta.onet.pl>, john joseph iii casey 
 4924               <jjcasey@midway.uchicago.edu>.
 4925 
 4926               ppmchange: fix bug: every other argument pair ignored.
 4927               Thanks Sven Over <sven.over@web.de>.
 4928 
 4929               Fix error message in pXmmerge (no pm_error()).  Thanks
 4930               Pete Weisz <pete@pw34.resnet.cornell.edu>, 
 4931               <g031w503@soft.iwate-pu.ac.jp>
 4932 
 4933               libppm: add /usr/X11R6/lib/X11/rgb.txt as default rgb.txt file.
 4934               Thanks ceder@lysator.liu.se (Per Cederqvist).
 4935 
 4936               Replace hpcdtoppm version 0.3 (1992) with 0.6 (1994).  Add
 4937               pcdindex.
 4938 
 4939               Build fixes for Tru64.  Thanks Phil Benchoff <benchoff@vt.edu>.
 4940 
 4941               Makefile.config: option to not strip binaries on install.
 4942 
 4943 00.09.01 BJH  Release 9.8
 4944 
 4945               jpegtopnm: Add -adobe, -notadobe options.
 4946 
 4947               ppmchange:  Add -closeness.
 4948 
 4949               giftopnm: report transparency information.
 4950 
 4951               jpegtopnm: Accept single-hyphen options.
 4952 
 4953               Make it build on DJGPP.
 4954 
 4955 00.08.12 BJH  Release 9.7
 4956 
 4957               Add PAM format, Pamchannel, Pamtopnm.
 4958 
 4959               sgitopnm: add -channel option to access more than 3 channels.
 4960               Thanks Smarasderagd.
 4961          
 4962               pnmcut: Add -pad option
 4963 
 4964               ppmtobmp: change default from -os2 to -windows.
 4965 
 4966               pnmcut: fix bug: height argument misinterpreted.
 4967 
 4968               ppmquantall: fix bug: don't crop white borders off images
 4969 
 4970               yuvtoppm: fix bugs: don't depend on bigendian representation
 4971               of integers.  reject odd-width images.
 4972 
 4973               ppmtoyuv: fix bug: reject odd-width images.
 4974 
 4975               anytopnm: fix bug: required nonstandard shell feature.
 4976 
 4977               giftopnm: fix bug: when image consists of two gray colors,
 4978               program converted them to black or white and created PBM
 4979               file.  Thanks Smarasderagd.  Also fix memory leak.
 4980 
 4981               Make changes since 9.2 build on Cygwin.
 4982 
 4983 00.07.12 BJH  Release 9.6
 4984 
 4985               Add pnmtofiasco, fiascotopnm, psnpsnr.  Thanks to Ullrich
 4986               Hafner.
 4987 
 4988               Make Pnmcrop use a temporary file instead of huge amounts
 4989               of memory.
 4990 
 4991               bmptoppm: fix crash when OS/2 BMP file has > 8 bits per pixel.
 4992 
 4993               anytopnm: fix bug (from 9.0) wherein program almost
 4994               always crashed.  Add gzip, bzip, bzip2 capability.
 4995               Thanks Charles Howes.
 4996 
 4997               parallel.c: Work around SunOS libc problem.
 4998 
 4999               Define some newer libtiff macros so it compiles against
 5000               older libtiff.
 5001 
 5002 00.07.01 BJH  Release 9.5
 5003 
 5004               Extend formats to allow multiple images per file.  Add
 5005               -allimages option to pnmfile.  Add pnmsplit.  Extend
 5006               pnmtops.
 5007 
 5008               Add pbmtowbmp, wbmptopbm.  Thanks Terje Sannum.
 5009 
 5010               ppmtobmp: Add 24 bit (truecolor) capability.  Remove Release 8.3
 5011               colormap size update.
 5012 
 5013               pnmcut: easier, more expressive syntax for specifying what
 5014               to cut.
 5015 
 5016               pnminterp: handle maxval != 255, convert to use Netpbm
 5017               libraries.
 5018 
 5019               Translate pstopnm from Csh to C, eliminate dependency
 5020               on the 'bc' program.
 5021 
 5022               Fix bug in tiff library build which caused null soname.
 5023 
 5024               Add optParseopt2() to shhopt.a so you can use long options
 5025               with one hyphen instead of two.
 5026 
 5027               giftopnm: fix bug with variable used before set.  Fix bug
 5028               (coding error -- 0=>i).  Unknown impact.
 5029 
 5030               bmptoppm: fix bug with 24 bit (truecolor) Windows BMPs.
 5031 
 5032               xwdtopnm: fix one more bug with bits_per_item <> bits_per_pixel.
 5033 
 5034               Fix ppmtompeg build bug with static libraries.
 5035 
 5036               Make build clean with gcc -ansi (albeit with some files
 5037               that need extensions declaring the _BSD_SOURCE etc.).
 5038 
 5039 00.06.04 BJH  Release 9.4
 5040 
 5041               Rebase pnmtopng, pngtopnm on Pnmtopng 2.37.4.
 5042 
 5043               pbmtolj: fix bug where blank lines get discarded.  Thanks
 5044               Charles Howes.
 5045 
 5046               ppmtompeg: fix bug with "PNM" format files with maxval != 255.
 5047               Get rid of built-in PPM file parsing.
 5048 
 5049               Fix 'make install' where mkinstalldirs is not found.
 5050 
 5051               Fix bug where rle_global.c would not compile with GNU C 
 5052               Library 2.
 5053 
 5054 00.06.01 BJH  Release 9.3
 5055 
 5056               pnmfile: check for file size error.
 5057 
 5058               ppmhist: handle larger maxvals, image sizes
 5059 
 5060               xwdtopnm: Use color map with DirectColor to fix wrong color
 5061               bug on some DirectColor xwds.
 5062 
 5063               xwdtopnm: Correct bug with 24/32 DirectColor LSBfirst xwds.
 5064 
 5065               Add pXmcheck() library function.
 5066 
 5067               Add leaftoppm and ppmtoleaf.  Thanks Bill O'Donnell.
 5068 
 5069               Add winicontoppm and ppmtowinicon.  Thanks Lee Benfield 
 5070               <lee@benf.org>.
 5071 
 5072               Add pgmslice.  Thanks to Jos Dingjan.
 5073               
 5074               Include subset of RLE library in the package.
 5075 
 5076               stamp-date doesn't rely on whoami.
 5077 
 5078               Make file fixes to accommodate more install programs.
 5079          
 5080               Replace tmpnam() with mkstemp().
 5081 
 5082               Add pXm_init() into all programs that didn't have it.
 5083 
 5084 00.05.15 BJH  Release 9.2
 5085 
 5086               Shared libraries now build properly for Solaris, SunOS, NetBSD.
 5087 
 5088               Add jbigtopnm, pnmtojbig.  Thanks to Markus Kuhn.
 5089 
 5090               Add pnminterp, pnminterp-gen by Russell Marks.
 5091 
 5092               Add pbm_writepbmrow_packed() and pbm_readpbmrow_packed() to
 5093               libpbm.
 5094 
 5095               ppmdither: fix bug with input maxval != 255.  Make output
 5096               maxval the LCM of the requested numbers of primary levels.
 5097 
 5098               xwdtopnm: works with files where there aren't an integeral
 5099               number of pixels per storage unit (e.g. 24 bits per pixel)
 5100               
 5101               Add some missing pXm_init()
 5102 
 5103               Make pXmmerge source code automatically generated.
 5104 
 5105 00.05.06 BJH  Release 9.1
 5106 
 5107               Add pbmtoppa (renamed from pbm2ppa, renamed from print-pbm).
 5108               Thanks Tim Norman.
 5109 
 5110               Add pbmpage.  Thanks Tim Norman.
 5111 
 5112               Add pbmtomda, mdatopbm.  Thanks John Elliott.
 5113 
 5114               Replace gemtopbm with gemtopnm.  Thanks to John Elliott.
 5115 
 5116               Add ppmntsc: change colors to those acceptable for ntsc or pal.
 5117 
 5118               Rename old ppmntsc to ppmtv.
 5119 
 5120               pbmtolj: Add compression (-delta, -packbits, -compress) by
 5121               Dave Platt
 5122 
 5123               Look for both /usr/lib/X11/rgb.txt and /usr/openwin/lib/rgb.txt
 5124               by default.  Improved error messages if file not found.
 5125 
 5126               pbmtext: renders character codes 0x80-0xff and 0x00-0x1f as
 5127               whatever the font says, rather than always blank.  Thanks
 5128               Helge Oldach.
 5129 
 5130               Fix bug in parsing of rgb.txt file in ppm_colorname().
 5131 
 5132               Add optional static library build to make files.
 5133 
 5134               Fix a bunch of build bugs for Solaris, SunOS.  Still not all 
 5135               the way there.  Thanks Richard Curnow, Philippe Brieu, 
 5136               Benjamin Kuit.
 5137 
 5138               Make it build on Cygwin.  Thanks Pierre Humblet.
 5139 
 5140               Use rm -f;ls instead of ls -sf in make files; some systems don't
 5141               have ln -f.
 5142               
 5143 00.04.15 BJH  Release 9.0
 5144 
 5145               Add the 16-bit-per-sample format for maxval > 255.
 5146               Change size of samples in the library interface from 8
 5147               bits to 32 bits.  Library write routines now create the
 5148               new 16 bit format instead of plain format when you
 5149               request a maxval > 255 and not 'forceplain'.  Make all
 5150               programs read the new format, and all programs that
 5151               convert to PNM from a >8 bit input generate it instead
 5152               of failing or normalizing.  Make pnmdepth generate it.
 5153 
 5154               pnm_readpnminit(), etc. fails if you request a maxval >
 5155               65535 and not 'forceplain'.  It used to generate plain
 5156               format in that case, but you couldn't actually specify    
 5157               a sample value > 255.
 5158 
 5159               Add pnmtorle and rletopnm from the Army High Performance 
 5160               Computing Research Center.
 5161 
 5162               add ppmcolormask - creates a mask of areas of a certain 
 5163               color in an image.
 5164 
 5165               anytopnm: fix infinite loop
 5166               
 5167               pbmtext:  Ignore non-8-bit characters in bdf files instead
 5168               of crashing.
 5169 
 5170               ppmdither: fix crash with large dithering matrix dimensions.
 5171 
 5172               Rename ppmtompeg/headers/search.h to motion_search.h to avoid
 5173               possible confusion with the OSF system file search.h
 5174          
 5175               Fix erroneous shhopt.h dependency in build.
 5176               
 5177 00.04.03 BJH  Release 8.4
 5178 
 5179               Add ppmtompeg, adapted from Berkeley's mpeg_encode.
 5180          
 5181               Add eyuvtoppm and ppmtoeyuv, and vidtoppm, from Berkeley
 5182               mpeg tools.
 5183 
 5184               Add ppmfade, adapted from Wesley C. Barris' pbmfade. 
 5185 
 5186               Add ability to extract the alpha channel to tifftopnm,
 5187               tgatoppm, and ximtoppm.  (It's already in pngtoppm,
 5188               and still missing from ilbmtoppm).
 5189 
 5190               pnmtotiff: Change default compression to none, due to
 5191               removal of LZW capability from Tiff library.
 5192 
 5193               Make merge build use symbolic links instead of hard links.
 5194 
 5195               Include dependent libraries in the link of the
 5196               libraries.  This is necessary on some systems, and a
 5197               good idea on others.
 5198 
 5199               Use strerror() instead of sys_errlist[] everywhere.  If
 5200               some systems do not have the former, we need to do some
 5201               work, because strerror() was already used in some
 5202               places.  We do have a report of a BeOS system with no
 5203               sys_errlist[].
 5204 
 5205 00.03.24 BJH  Release 8.3
 5206 
 5207               Add ppmshadow, by John Walker <http://www.fourmilab.ch/>,
 5208               dated 1997.08.15.
 5209 
 5210               Add ppmlabel, by John Walker, dated June 1995.
 5211 
 5212               Add ppmcie by John Walker, dated September 1994.
 5213 
 5214               Add character drawing routines by John Walker to libppm.
 5215 
 5216               Add sbigtopgm by John Walker, dated January 1998.
 5217 
 5218               Handle BMP file color map size parameter in ppmtobmp, bmptoppm.
 5219               Thanks Marc Moorcroft.
 5220 
 5221               Rewrite make files, fix lots of make install bugs.
 5222 
 5223 00.03.20 BJH  Release 8.2
 5224 
 5225               Add ppmtojpeg and jpegtopnm.
 5226 
 5227               Rename pnmnoraw to pnmtoplainpnm.
 5228 
 5229               Add CMYK capability to tifftopnm.
 5230  
 5231               Major make file rewrite, especially making install work.
 5232               Pnmmerge is no longer the default.  Shared libraries are.
 5233  
 5234               Add pnmtotiffcmyk.  Written by Andrew Cooke  (Jara Software)
 5235               jara@andrewcooke.free-online.co.uk
 5236 
 5237 00.03.02 BJH  Release 8.1
 5238 
 5239 00.03.02 BJH  Add pnmtopng and pngtopnm.  I got these from 
 5240               ftp://ftp.au.netbsd.org/pub/NetBSD/packages/distfiles
 5241               today.  Release 2.37.3.  I added an "unsigned" and
 5242               changed the type of 'scaleval' to quiet compiler warnings.
 5243 
 5244 00.03.01 BJH  Fix xwdtopnm interpretation of 16 bit TrueColor files.
 5245               Thanks to Martin Kroeker, mk@daveg.com.
 5246 
 5247 99.09.23 BJH  Update xbmtopbm to recognize newer xbm format.
 5248 
 5249 
 5250 
 5251 
 5252 CHANGES TO NETPBM THROUGH MARCH 1994
 5253 ------------------------------------
 5254 
 5255 Functional changes to Netpbm since 13 October 1993.
 5256 Minor bug fixes and compatibility fixes are not documented in this file.
 5257 
 5258 PBM
 5259 
 5260 libpbm1.c       strstr() added to libpbm1.c.
 5261 libpbm5.c       BDF font functions added.
 5262 pbmtext         Ability to use BDF fonts added.
 5263 pbmto4425       New filter.
 5264 pbmtoln03       Command line parsing changed to Pbmplus standard.
 5265 
 5266 
 5267 PGM
 5268 
 5269 pgmnoise        New filter.
 5270 
 5271 
 5272 PPM
 5273 
 5274 picttoppm       Updated
 5275 ppm3d           New facility.
 5276 ppmchange       New filter.
 5277 ppmdim          New filter.
 5278 ppmflash        New filter.
 5279 ppmmix          New filter.
 5280 ppmntsc         New filter.
 5281 ppmqvga         Option parsing changed to Pbmplus standard.
 5282 ppmshift        New filter.
 5283 ppmspread       New filter.
 5284 ppmtoxpm        Prototypes added.
 5285 xpmtoppm        Prototypes added.
 5286 ilbmtoppm       Updated.
 5287 ppmtoilbm       Updated.
 5288 
 5289 
 5290 PNM
 5291 
 5292 pnmtoddif       New filter.
 5293 pnmhistmap      New facility.
 5294 pnmtops         New option (-nocenter) added.
 5295 
 5296 
 5297 Functional changes to Netpbm since 7 December 1993.
 5298 Minor bug fixes and compatibility fixes are not documented in this file.
 5299 
 5300 PGM
 5301 
 5302 asciitopgm      New filter.
 5303 fitstopgm       Replaced by fitstopnm.
 5304 pgmtofits       Replaced by pnmtofits.
 5305 pgmtopbm        Upgraded.
 5306 pgmkernel       New filter.
 5307 
 5308 PPM
 5309 
 5310 ppmchange       Upgraded.
 5311 xvminitoppm     New filter.
 5312 
 5313 PNM
 5314 
 5315 pnmalias        New filter.
 5316 pnmtofits       Replacement for pgmtofits.
 5317 fitstopnm       Replacement for fitstopgm.
 5318 pnmtosgi        New filter.
 5319 sgitopnm        New filter.
 5320 pstopnm         New filter.
 5321 
 5322 
 5323 
 5324 CHANGES BETWEEN PBMPLUS AND THE ORIGINAL NETPBM
 5325 -----------------------------------------------
 5326 
 5327 The following is new in Netpbm (compared to Pbmplus):
 5328 
 5329 PBM
 5330 
 5331 pbmtext         Ability to use BDF fonts added.
 5332 
 5333 pbmto4425       Display on an AT&T 4425 Ascii terminal.
 5334 
 5335 pbmtoascii      A new improved version.
 5336 
 5337 pbmtoln03       Convert to DEC LN03+.
 5338 
 5339 pbmtolps        Fast PostScript creator.
 5340 
 5341 pbmtopk         Conversion to/from a packed (PK) format font.
 5342 pktopbm
 5343 
 5344 pbmclean        Flip isolated pixels.
 5345 
 5346 pbmpscale       Enlarge pbm image with edge smoothing.
 5347 
 5348 
 5349 PGM
 5350 
 5351 asciitopgm      Convert an ascii image into pgm.
 5352 
 5353 pbmtopgm        Convert pbm to pgm by averaging areas.
 5354 
 5355 rawtopgm        Handles input files without specification of the file size,
 5356                 assuming the input image is quadratic. It also has a
 5357                 -tb (top bottom flip) option.
 5358 
 5359 bioradtopgm     Conversion utility for files created by Biorad confocal
 5360                 microscopes.
 5361 
 5362 spottopgm       Convert SPOT satellite images to pgm.
 5363 
 5364 pgmkernel       Generate a convolution kernel.
 5365 
 5366 pgmnoise        Create a pgm file with random pixels.
 5367 
 5368 
 5369 PPM
 5370 
 5371 bmptoppm        Conversion to/from windows bitmap format.
 5372 ppmtobmp
 5373 
 5374 ppmtogif        Updated version.
 5375 giftoppm        Removed (see giftopnm).
 5376 
 5377 ppmtoilbm       Updated version.
 5378 ilbmtoppm
 5379 
 5380 picttoppm       Updated version.
 5381 ppmtopict
 5382 
 5383 ppmtoxpm        Updated version, which understands xpm version 3.
 5384 xpmtoppm
 5385 
 5386 ppmtomap        Extract all colors from a ppm file.
 5387 
 5388 ppmtomitsu      Convert to Mitsubishi S340-10 printer format.
 5389 
 5390 xvminitoppm     Convert an XV thumbnail picture to ppm.
 5391 
 5392 ppmtoyuvsplit   Conversion to/from YUV triplets. (MPEG / JPEG).
 5393 yuvsplittoppm
 5394 
 5395 ppm3d           Create a red/blue stereo image.
 5396 
 5397 ppmbrighten     Change image saturation and value on an HSV map.
 5398 
 5399 ppmchange       Change all pixels of one color to another in a portable pixmap
 5400 
 5401 ppmdim          Dim a ppm file down to total blackness.
 5402 
 5403 ppmdist         Simplistic grayscale assignment for machine generated
 5404                 color images.
 5405 
 5406 ppmflash        Brighten a picture up to complete white-out
 5407 
 5408 ppmmix          Blend together two portable pixmaps.
 5409 
 5410 ppmnorm         Normalize the contrast in a portable pixmap.
 5411 
 5412 ppmntsc         Make a portable pixmap look like taken from an American TV.
 5413 
 5414 ppmqvga         Eight plane quantization.
 5415 
 5416 ppmshift        Shift lines of a portable pixmap left or right by a random amount.
 5417 
 5418 ppmspread       Displace a portable pixmap's pixels by a random amount.
 5419 
 5420 ppmtopjxl       Convert a ppm file into an HP PaintJet XL PCL file.
 5421 
 5422 
 5423 PNM
 5424 
 5425 pnmtops         New option (-nocenter) added.
 5426 
 5427 pnmtofits       Replacement for pgmtofits/fitstopgm
 5428 fitstopnm
 5429 
 5430 pnmtosgi        Conversion to/from sgi image format.
 5431 sgitopnm
 5432 
 5433 pnmtosir        Conversion to/from Solitaire image recorder format.
 5434 sirtopnm
 5435 
 5436 giftopnm        Replaces giftoppm. Examines the input image and produces
 5437                 a pbm, pgm, or ppm output.
 5438 
 5439 pstopnm         Convert PostScript to pnm. Requires Ghostscript.
 5440 
 5441 zeisstopnm      Conversion utility for files created by Zeiss confocal
 5442                 microscopes (the old standard).
 5443 
 5444 pnmalias        Anti aliasing filter.
 5445 
 5446 pnmcomp         Composite two portable anymaps together.
 5447 
 5448 pnmcrop         New options added.
 5449 
 5450 pnmpad          Add borders to anymap.
 5451 
 5452 
 5453 LIBTIFF
 5454 
 5455 A new release of libtiff is included. Please read its supporting
 5456 documentation.
 5457 
 5458 
 5459 CHANGE LOG FROM PBMPLUS
 5460 -----------------------
 5461 
 5462 Changes since the 30oct91 patch version:
 5463 
 5464     Fixed uninitialized variable in ppmtotga.  (John Walker)
 5465     Added pgmcrater, ppmforge, ppmtoacad, sldtoppm.  (John Walker)
 5466     Slight change to the p?mmerge.c front-ends to allow for main programs
 5467       that return instead of exitting.
 5468     Minor clarifications to the pnmconvol man page.
 5469     Fixed xwdtopnm to read some 16-bit True/Direct files. (David Elliott)
 5470     Fixed uninitialized variables in pnmtotiff.  (Larry Rosenstein, Bayles Holt)
 5471     Added a couple of checks for \r while reading whitespace. (Larry Rosenstein)
 5472     Removed all the BROKENPUTC stuff.  Now we ignore all return values from
 5473       putc(), and check ferror() in pm_close().  Added pm_close() calls to
 5474       many of the filters.
 5475     Fixed pnmdepth to check for too-large newmaxvals.  Improved rounding
 5476       in pnmdepth and PPM_DEPTH macro.  (Tom Lane)
 5477     Minor fix to ppmtouil.  (Mohsen Banan)
 5478     Added new Imakefiles.  (Rainer Klute)
 5479 
 5480 Changes since the 05oct91 X11R5 contrib tape version:
 5481 
 5482     Fixed minor SysV config error in pbmplus.h.  (Tom Lane)
 5483     Fixed tifftopnm so that BITSPERSAMPLE and SAMPLESPERPIXEL default
 5484       correctly.  Fixed possible bug in tgatoppm line-interleaving code.
 5485       (Arthur David Olson)
 5486     Fixed tifftopnm so that colormapped files are read correctly.
 5487       (PauL Drews, Mike Wade)
 5488     Corrected use of DefaultRGBDatabase / RGB_DB for imake sites.
 5489       (Randal L. Schwartz)
 5490     Bugfix to pnmtops color PostScript in -rle mode.  (Angus Duggan)
 5491     Added auto-turning to pnmtops.
 5492     Added run-length encoding to ppmtotga.
 5493     Space optimization to pgmoil.
 5494 
 5495 Changes since the 27sep91 comp.sources.misc distribution:
 5496 
 5497     Fixed spelling error in giftoppm.  Fixed ppmrelief to not shrink the
 5498       image by 2 rows and columns.  Minor fix to pgmramp.  Fixed off-by-one
 5499       error in pnmtoxwd.  Man page fix for pnmgamma.  (Arthur David Olson)
 5500     Converted ANSI trigraphs in ppmtosixel into good old octal.  (Jeff Glover)
 5501     Fix to 24/32 bit case in rasttopnm.  (Behr de Ruiter)
 5502     Float/double portability fix to libppm4.  (Bruce Holmer, Ronald Khoo)
 5503     Fixed typo in compat.ksh.  (Larry Virden)
 5504     Fixed int/short incompatibility in tifftopnm.  (Salik Rafiq)
 5505 
 5506 Changes during the extended beta test period, starting on 15jan91:
 5507 
 5508     Lots of fixes from: Anthony A. Datri, Arthur David Olson, David Brooks,
 5509       David Elliott, Doug Claar, Duncan Sinclair, Francois Pinard, Gerard
 5510       Leurs, Jim Hanko, Ken Laprade, Klaus U. Schallhorn, Markus Bolz, Mike
 5511       Hench, Philip Gladstone, R C Smith, Selden E. Ball, Jr., Stephen Uitti,
 5512       Steve Allen, Tom Lane, update.kpj-jaakkola@athena.dsv.su.se,
 5513       Charles Karney, Unmesh Agarwala, Ed Pendzik, Juha Sarlin, Tom Tulinsky,
 5514       Phillip Smith, Lai-King Mau, David Koblas, Mark Donovan.
 5515     Added a global -version flag.
 5516     Added bunches of statics and prototypes.  Now compiles with zero
 5517       warnings under gcc -ansi -pedantic.
 5518     Changed #ifdef __STDC__ to #if __STDC__, since some non-compliant
 5519       compilers define it as 0.
 5520     Changed pm_message and pm_error to be varargs routines.  Added a
 5521       portable version of vfprintf for those systems which don't have it.
 5522     Removed the option of not compiling the pgm and ppm parts.  Very few
 5523       people used it, and it added amazing complexity to the pnm programs,
 5524       turning them into maintenance nightmares.
 5525     Merged pbmpaste into pnmpaste.
 5526     Merged pgmtops and ppmtops into pnmtops.
 5527     Added auto-scaling and dpi / page size flags to pnmtops.
 5528     Changed the interpretation of bits in pbmlife to conform with other
 5529       tools.
 5530     Changed xwdtopnm to ignore the pixel number in the xwd color structure.
 5531     Added a -pseudodepth flag to pnmtoxwd.
 5532     Updated tifftopnm for libtiff 2.4.
 5533     Added many option flags to pnmtotiff.  (J.T. Conklin)
 5534     Added recognition of X11R5's new color specifiers rgb: and rgbi:.
 5535     Added pgmtexture.  (James Darrell McCauley)
 5536     Added ppmtopj, pjtoppm, and ppmdither.  (Christos Zoulas)
 5537     Added ppmtotga.  (Mark Shand)
 5538     Added ppmtosixel.  (Rick Vinci)
 5539     Added pbmtoatk and atktopbm.  (Bill Janssen)
 5540     Added ppmtoyuv and yuvtoppm.  (Marc Boucher)
 5541     Fixes to picttoppm.  (George Phillips)
 5542     Added recognition of 24-bit images to ilbmtoppm.  (Mark Thompson)
 5543 
 5544 Changes since the X.V11R4 / comp.sources.misc distribution of 22nov89:
 5545 
 5546     Added pgmramp, pgmedge, pgmtoppm, rgb3toppm, ppmtoxpm, pnmgamma,
 5547       ximtoppm, pgmtofs, picttoppm, ppmtopict, ppmquantall, anytopnm,
 5548       pi1toppm, ppmtopi1, sputoppm, spctoppm, pbmto10x, ppmtoicr, ppmmake,
 5549       xpmtoppm, ppmtopuzz, ppmtouil, ybmtopbm, pbmtoybm, lispmtopgm,
 5550       pgmtolispm, pbmtogem, pi3topbm, pbmtopi3, pbmtoepson, pbmtoplot,
 5551       pbmtozinc, pbmtext, pnmnoraw, pnmmargin, pnmfile, pnmindex,
 5552       ppmtorgb3, gouldtoppm, pgmbentley, pgmoil, ppmrelief, pnmtotiff,
 5553       ppmtopcx.
 5554     Merged some filters:
 5555       rasttopbm and rasttoppm into rasttopnm;
 5556       pbmtorast and ppmtorast into pnmtorast;
 5557       xwdtopbm and xwdtoppm into xwdtopnm;
 5558       pbmtoxwd and ppmtoxwd into pnmtoxwd.
 5559     Promoted some filters:
 5560       pcxtopbm to pcxtoppm;
 5561       ppmarith to pnmarith;
 5562       ppmconvol to pnmconvol;
 5563       ppmcscale to pnmdepth;
 5564       ppmrotate to pnmrotate;
 5565       ppmscale to pnmscale;
 5566       ppmshear to pnmshear;
 5567       ppmsmooth to pnmsmooth;
 5568       tifftopgm to tifftopnm - new version based on Sam Leffler's libtiff.
 5569     Bugfixes to pbmtoicon, ppmtops.
 5570     The Makefiles now have a "merge" option.
 5571     All flags are now case-insensitive.
 5572     Added $(MAKE) stuff to Makefile.
 5573     Changed pnmsmooth from a csh script to a sh script.
 5574     Made macro use in pbmtox10bm and pbmtoxbm more portable.
 5575     Moved compataliases to compat.csh, and added compat.ksh.
 5576     Made ppmtoilbm less Amiga-specific.
 5577     Added -headerskip and -rowskip flags to rawtopgm.
 5578     Enhanced rasttopnm to interpret 8-bit rasters with no colormap as grayscale.
 5579     Changed sscanf %g to %f - some systems can't handle %g on input.
 5580     Added -expand flag to pbmmask.
 5581     Speedup to pnmflip - don't buffer if possible.
 5582     Added color-name-to-value routine to ppm - uses X11's rgb.txt if present.
 5583     Updated Imakefile function to reflect X.V11R4.
 5584     Removed picttopbm.
 5585     Improved pnmcut argument syntax so that negative coords work like pnmpaste.
 5586     Added "magic" file, for use with the "file" program.
 5587     40% speedup for pgmnorm from Robert Stockton (rgs@cs.cmu.edu).
 5588     Fixed long-standing bug involving colormaps on SPARCstations when
 5589       compiled with gcc -- had to do with passing structs by value.
 5590     Removed the -x flag from pnmtorast -- it's not really needed.
 5591     Fixed subtle bug in the pnm reading code that caused pnmcat to blow
 5592       it on images that differed greatly in width or height.
 5593     New version of giftoppm that handles the GIF89a standard, and doesn't
 5594       use fseek.
 5595     Fixed fitstopgm to handle three-axis images, such as the Hubble pix.
 5596     Xwdtopnm and pnmtoxwd finally handle byte-order properly.
 5597     Added -xysize flag to pnmscale.
 5598     Added conditional ANSI function prototypes to library routines.
 5599     Added -noantialias flag to pnmrotate and pnmshear.
 5600     Removed the TIPS file.  No one ever sent in any new tips, so I just
 5601       moved the few I had into the relevant man pages.  That's probably
 5602       where they belonged in the first place.
 5603     Added justification flags to pnmcat.
 5604     Added -map flag to ppmquant - user-specifiable colormap.  Also, the
 5605       Floyd-Steinberg error diffusion finally works right.
 5606     Added -map flag to pgmtoppm.
 5607     Added DirectColor capability to xwdtopnm and pnmtoxwd.
 5608     Speedup to pgmtolj from Arthur David Olson: avoid sending whitespace.
 5609     Fix to pbmtogo from Bo Thide': 2D compression now works.
 5610 
 5611 Patch 1 to the X.V11R4 / comp.sources.misc distribution of 22nov89:
 5612 
 5613     Fixed bug in pgmtops -rle.
 5614 
 5615 Changes since the alt.sources distribution of 13sep89:
 5616 
 5617     Small corrections to ppmtorast, pgmtops.
 5618     Moved pbm/tifftopbm to pgm/tifftopgm - it now handles grayscale TIFF files.
 5619     Fixed tifftopgm to handle non-native byte order.
 5620     Changes to tifftopgm to handle bogus AppleScan TIFF files, to have
 5621       better command syntax, and to use stdio.
 5622     Optimizations to xbmtopbm, pbmtoxbm, and pbmtox10bm, courtesy of
 5623       Juha Sarlin, to make them go about three times as fast.
 5624     Optimization to pgmtops and ppmtops to make them go three times as fast.
 5625     Optimization to pnmcrop.
 5626     Added PBMPLUS_BROKENPUTC defines in pbmplus.h to handle systems (such as
 5627       ULTRIX) which have broken putc() macros.
 5628     Rewrote ppmscale, pnmcat, and pgmhist to operate line-by-line, instead
 5629       of reading in the whole image.
 5630     Rewrote pnmflip to keep only one copy of the image in memory.
 5631     Added pgmtofits, courtesy of Wilson H. Bent, plus bugfixes to fitstopgm
 5632       and a patch to giftoppm to handle black&white GIF files.
 5633     Added picttopbm and rawtopgm.
 5634     Fixes to xwdtoppm and ppmtoxwd so they compile with SunOS cc as well as gcc.
 5635     Another small change to ppmtoxwd having to do with colormap size.
 5636     Changed macptopbm's -headersize flag to be -extraskip.
 5637     Changed tgatoppm to read color values as BGRA instead of ARGB; the Targa
 5638       documentation is apparently wrong about the order.
 5639     Some changes to the Makefiles, partially to work around bugs in gnumake.
 5640     Got g3topbm working, and added pbmtog3, courtesy of Paul Haeberli.
 5641     Added some pixrect work-alike code so that rasttopbm, pbmtorast, rasttoppm,
 5642       and ppmtorast can be used on non-Sun systems.  This also provides a
 5643       final solution to the persistent byte- and bit-order problems on 386's.
 5644     Moved the SYSV-checking #ifdefs to *after* the include of pbm.h, which
 5645       defines SYSV.
 5646     Made all the #else's and #endif's ANSI-compliant.
 5647     Added manual pages for libpbm, libpgm, libppm, and libpnm, courtesy
 5648       of Tony Hansen.
 5649     Changed man page installation so that pages from different sections
 5650       can go in different directories.
 5651     Fixed Imakefiles.
 5652 
 5653 Changes since the expo.lcs.mit.edu FTP distribution of 06sep89:
 5654 
 5655     Added #ifdefs to pnm/libpnm3.c to allow the PBM-PNM-only configuration.
 5656     Small corrections to TIPS, pnm/Makefile, pnm/Imakefile, ppm/ppmrotate.1,
 5657       ppm/ppmshear.1, ppm/ppmtoilbm.c, pbm/xwdtopbm.c, ppm/xwdtoppm.c,
 5658       ppm/ppmtoxwd.c, ppm/ppmtoxwd.1, pbm/x11wd.h.
 5659 
 5660 Changes since the comp.sources.misc distribution of 31oct88:
 5661 
 5662     Added pbmreduce, pbmlife, pbmmask, and pbmupc.
 5663     Added gemtopbm, tifftopbm, pcxtopbm, pbmtogo, mgrtopbm, pbmtomgr,
 5664       cmuwmtopbm, pbmtocmuwm, g3topbm, and pbmtobg.
 5665     Minor bugfix to pbmtolj.
 5666     Slight restructuring of most of the programs to use vastly less memory.
 5667     Various other minor optimizations.
 5668     Fixed pbmtorast and rasttopbm to handle byte-swapped big-endian 386 boxes.
 5669     Slight changes to argument syntax of pbmcrop, pbmmake, pbmreduce.
 5670     Moved to the new PGM package: pbmtops (which now produces Conforming PS).
 5671     Moved to the new PPM package: giftopbm.
 5672     Moved to the new PNM package: pbmcrop pbmcut pbmenlarge pbminvert.
 5673     Consolidated into a single pnmflip tool: pbmfliplr pbmfliptb pbmtrnspos.
 5674     Consolidated into a single pnmcat tool: pbmcatlr pbmcattb.
 5675     Added compataliases script for upward compatibility with changed tools.
 5676     Removed xxxtopbm.
 5677     Added a -headersize flag to macptopbm, to help get around annoying
 5678       problems in MacPaint file format.
 5679     Added the RAWBITS compilation-time option, to use a more compact and
 5680       much faster (but less portable) external format.
 5681     Removed the CBM format - use compress(1) and / or RAWBITS instead.
 5682     Pbmpaste (and the new pnmpaste) now accepts negative x and y coords,
 5683       which are interpreted relative to the right and bottom sides.
 5684     Changed all programs to accept a "-" file argument as meaning standard
 5685       input.
 5686     Removed pbmtox10wd, since it was never very useful (X10 doesn't have xwud).
 5687     Added Imakefiles, for X11 types to use.
 5688 
 5689 Changes since the X.V11R3 distribution of 31aug88:
 5690 
 5691     The cbm format has been revised to include run-length encoding.
 5692     Pbmtops now does run-length encoding.
 5693 
 5694 Major changes since the X.V11R2 distribution of 28mar88:
 5695 
 5696     The pbm format now has a "magic number".
 5697     New conversion filters: brushtopbm, giftopbm, pbmtolj, pbmtomacp,
 5698       pbmtoxwd, and pbmtox10wd.
 5699     Icontopbm converter has a better parser -- it knows to skip over
 5700       any extraneous comments at the beginning of the icon file.
 5701     Pbmtops generates a different PostScript wrapper program -- it should
 5702       handle huge bitmaps better.
 5703     Xwdtopbm now handles byte-swapping correctly.
 5704     Pbmmake takes a flag to specify the color of the new bitmap.
 5705     Pbmpaste now implements 'or', 'and', and 'xor' operations as well
 5706       as the default 'replace'.