See http://netpbm.sourceforge.net/history.html for a general history of
Netpbm.
CHANGE HISTORY
--------------
not yet BJH Release 11.03.00
pnmcolormap: make result independent of how system's qsort
orders records with equal keys. Affects pnmquant.
pamtopng: fix typo in error message about -chroma option.
pamtopng, pnmtopng, pngtopam: fix error message when something
fails in libpng. Always broken (the programs were new in Netpbm
8.1 (March 2000)).
23.03.25 BJH Release 11.02.00
jpegtopnm: Add -traceexif
pbmtextps: Add -asciihex, -ascii85.
pcdovtoppm: remove dependency on obsolete 'tempfile' program.
jpegtopnm: Many fixes to -dumpexif. Always broken.
(-dumpexif was new in Netpbm 9.18 (September 2001))
pamtopng: fix -chroma option: always rejected. Always broken.
(pamtopng was new in Netpbm 10.70 (June 2015)).
pnmtopng: fix -rgb option: always rejected. Always broken
(-rgb was new in Netpbm 10.30 (October 2005)).
build: change the way you add the separately distributed
'hpcdtoppm' code to the build.
22.12.31 BJH Release 11.01.00
pamcat: Add -listfile .
pamtojpeg2k: add -size option. Doesn't precisely work (and
-compression has never worked precisely either); should be
fixed some day.
ppmtompeg: Fix crash with resize option because of invalid
memory free.
fitstopnm: fix invalid memory reference (nonterminated ASCIIZ
string).
packaging: Fix library minor number to 100 + Netpbm minor number
so it is higher than previous ones in library major 100.
I.e. libnetpbm.so.100.101 instead of libnetpbm.so.100.1.
Introduced in Netpbm 11.00.00.
22.09.28 BJH Release 11.00.00
(No significance to new major number; just ran out of 2-digit
minor numbers).
Add pamcat.
pamtable: add -tuple.
pamtable: add -hex.
pbmtextps: improve error messages.
pnmtofits: fix arbitrary behavior when FITS input lacks
required fields in header. Always broken. Pnmtofits'
predecessor was in primordial Netpbm (1989).
ppmtoicr: Fix bug: all options cause bogus command line parsing
errors. Always broken. Ppmtoicr was new in 1991.
ppmtoicr: Fix arithmetic overflows.
ppmtoicr: make -rle option issue an error message saying it no
longer exists (it did, sort of, before 2015).
ppmforge: Fix arbitrary output with really large -power.
pnmindex: fix shell injection vulnerabilities. Broken since
Netpbm 10.28 (June 2005).
pnmmargin: fix shell injection vulnerability. Always broken
(Program was added in primordial Netpbm in 1990).
build: Create backward compatibility symbolic link for
pnminterp-gen, missing for over 20 years.
22.06.24 BJH Release 10.99.00
Add pamrestack.
Add pamshuffle.
Add pamtoqoi, qoitopam.
palmtopnm: Fix failure with bogus claim of invalid input on
architectures that do not use two's complement negative numbers.
Always broken. (Ability to convert PackBits input was new in
Netpbm 10.27 (March 2005).
pnmgamma -srgbtobt709, -bt709tosrgb: fix bug; incorrect output.
Always broken (These options were new in Netpbm 10.32 (February
2006)). Thanks Alexander Shpilkin .
pamdice: Fix incorrect output file name with PAM input. Always
broken (pamdice was new in Netpbm 9.25 (March 2002).
libnetpbm: Stop bogus runtime error check failure in pmfileio.c
shifts.
22.03.27 BJH Release 10.98.00
pamtopdbimg: Add -fixedtime.
ppmfade: Use temporary files securely.
pnmtosir: Set some possibly meaningless bits in output to zero
so output is repeatable.
pamx: Fix bug: top-justifies image in all cases where it should
bottom-justify. Always broken. (pamx was new in Netpbm 10.34
(June 2006).
pnmtorle: Fix bug: -h works only on first image.
pamsistoaglyph: Fix invalid memory reference and incorrect
output on depth 1 input. Always broken. (pamsistoaglyph was
new in Netpbm 10.47 (June 2009). Thanks Scott Pakin.
pambayer: Fix bogus colors at edges. Always Broken (pambayer
was new in Release 10.30 (October 2005)).
libnetpbm, various programs: fix bug: bogus warning that a color
specified on command line cannot be represented exactly with the
maxval being used. Introduced in Netpbm 10.83 (June 2018).
pnmtopsnr: Fix typo in error message. Always broken (pnmpsnr
was new in Netpbm 9.6 (July 2000).
ppmtoilbm: Remove -floyd (aka -fs) option, which hasn't worked
in a long time if ever and is inappropriate function for this
program. And the broken code is inconsistent with new random
number logic elsewhere in the package.
ppmtoapplevol: Fix bug: reads from Standard Input even when you
specify the input file argument. Always broken. (ppmtoapplevol
was new in Netpbm 10.54 (March 2011).
ppmtoapplevol: Fix bug: produces garbage with input image wider
than 255. Always broken. (ppmtoapplevol was new in Netpbm
10.54 (March 2011).
pgmmedian: fix crash when median matrix is wider or higher than
the input image.
picttoppm: Fix incorrect output for 32 bit per pixel images
that have only 3 planes. Broken in Netpbm 10.34 (June 2006).
pamendian: fix bogus "sample exceeds maxval" failure.
Introduced in Netpbm 10.66 (March 2014).
ppmtoilbm: Fix wild memory references and hangs with -map .
Introduced in Netpbm 9.12 (March 2001).
pgmtexture: Fix incorrect output. Always broken. (Program was
added in primordial Netpbm in 1991).
pgmabel: Fix incorrect output. Always broken. (Program was
new in Netpbm 10.3 (July 2002).
Remove Floyd-Steinberg dithering functions (ppm_fs_*) from
libnetpbm (libppmfloyd). No longer used. Floyd-Steinberg
dithering logic can be found in pnmremap. libppmfloyd
was previously used by ppmtoilbm.
21.12.27 BJH Release 10.97.00
Add pbmnoise.
pnmpad: Use -halign with -mwidth and default to centering the
image instead of left-justifying when no other padding is being
added. Same with -mheight, -valign, and top-justifying.
xwdtopnm: Add ability to process bit depth 32.
pgmtoppm: Add -black, -white.
ppmpat: Add -mesh.
pampaintspill: Add -near. Thanks Scott Pakin.
pamtogif: Fix bug: doesn't ignore the input alpha mask when user
specified -transparent. Broken in Netpbm 10.37 (December 2006).
palmtopnm: Fix bug: fails with PackBits input on platform with
default unsigned char, such as ppc64. Always broken. (Ability
to convert PackBits input was new in Netpbm 10.27 (March 2005).
pamrubber: Fix bug: random behavior with -quad when you specify
both points for source or target and the second one is lower in
the image than the first. Always broken (Pamrubber was new in
Netpbm 10.54 (March 2011)).
sunicontopnm, escp2topbm, mgrtopbm, ybmtopbm, pamcut, pbmpscale,
pnmcat, pnmpad: Fix arithmetic overrun with ridiculously large
image.
pbmclean: Fix overallocation of memory (waste).
libnetbm: Add pnm_writepamrowpart, pnm_formatPamtuples.
libnetpbm: When validating computable size of width and height,
allow for adding up to 10 instead of 2, to account for rounding
up to a multiple of 8 in processing bit maps.
Build: Don't attempt to build 'pamexec' on systems without
Unix process management. Bug introduced in Netpbm 10.94
(March 2021) and supposedly fixed in 10.95, but not really.
21.09.25 BJH Release 10.96.00
pgmtoppm: Eliminate dependency on color dictionary when user
does not specify any colors by name.
pamstereogram: Fix crash with -xbegin=0. Thanks Scott Pakin.
Introduced in Netpbm 10.94.
21.06.30 BJH Release 10.95.00
pamtopng: Fix rejection of all BLACKANDWHITE_ALPHA images with
message about wrong depth. Always broken (pamtopng was new in
Netpbm 10.71 (June 2015)). Thanks Karol Kosek
.
pamtopng: Fix failure with GRAYSCALE_ALPHA images with maxval
less than 255. Always broken (pamtopng was new in Netpbm 10.71
(June 2015)). Thanks Karol Kosek .
pamtopng: Fix: treats all tuple types that start with BLA as
BLACKANDWHITE. Always broken (pamtopng was new in Netpbm 10.71
(June 2015)).
pamtopng: Fix -transparent option - program recognized
-transparency instead. Always broken (pamtopng was new in
Netpbm 10.71 (June 2015)).
pamtogif: Fix failure with bogus message about wrong depth with
grayscale and black and white PAM images with transparency.
Always broken (pamtogif was new in Netpbm 10.37 (December 2006)).
Thanks Karol Kosek .
ppmtogif: Same as 'pamtogif' fix above, but with -alpha option.
Build: Fix build failure due to missing 'random' function on
Mingw platform. Bug introduced in Netpbm 10.94 (March 2021).
Build: Don't attempt to build 'pamexec' on systems without
Unix process management. Bug introduced in Netpbm 10.94
(March 2021).
Build: Make it work on systems that don't have date +%s. Broken
in Netpbm 10.78 (March 2017). Thanks Claes Nästén
(pekdon@gmail.com).
Build: Fix for MacOS build failures with missing sprintf and
vasprintf in broken build environment.
Mkdeb: fix failure with message about unrecognized format of
VERSION file. Introduced in Netpbm 10.90 (March 2020).
21.03.27 BJH Release 10.94.00
Add pamhomography: Thanks Scott Pakin.
pamstereogram: Add -yfillshift .
pamtowinicon: Add BMP/PNG encoding to verbose output.
Use internal random number generator everywhere random numbers
are used except ppmtoilbm, so seeded results are the same on
all platforms.
pamexec: Issue message instead of being killed by a signal when
the exec'ed program does not read the whole image"
ppmforge: Fail if -dimension is greater than 5, which is
useless.
pamscale: Fix bogus "bad magic number" or similar failure most
of the time with -nomix. Broken since Netpbm 10.49 (December
2009).
pnmtopng: Fix incorrect transparency in output when requesting
transparency. Introduced after Netpbm 10.35 (August 2006) but
not after Netpbm 10.47 (June 2009).
pnmtopng: Fix buffer overrun or bogus "too many color/
transparency pairs" failure when requesting transparency.
Introduced after Netpbm 10.26 (January 2005) but not after
Netpbm 10.35 (August 2006).
pamtojpeg2k: Fix constant failure with message about file
close failing.
libnetpbm: pm_system: Fix bug: standard input feeder process
repositions unrelated files. Always broken (pm_system was new
in Netpbm 10.13 (September 2003).
Pamtowinicon: Fix crash or incorrect output with PNG encoding
(result of pm_system bug above). Always broken (Pamtowinicon
was new in Netpbm 10.63 (June 2013).
pnmtopng: Fix trivial memory leaks.
pnmtops: Fix incorrect output (arithmetic overflow) when
bounding box is exactly INT_MAX high or wide. Always broken.
Pnmtops was in primordial Netpbm.
make package: fix no such file pcdovtoppm.exe failure on
Windows.
20.12.28 BJH Release 10.93.00
pamarith: Add -equal.
pamarith: Allow more than two operands for functions for which
it makes sense (all but -subtract, -difference, -compare,
-divide, -shiftleft, and -shiftright).
pamarith: fail if operand images have different depth and not
depth 1.
ppmshift: Add -seed .
pamaddnoise: Fix incorrect output for -type poisson. Always
broken. (pamaddnoise's precursor pnmaddnoies was new to Netpbm
in Netpbm 10.29 (August 2005)).
pamaddnoise: fix bug: garbage output with -type impulse. Always
broken (pamaddnoise's precursor pnmaddnoise was new to Netpbm
in Netpbm 10.29 (August 2005)).
20.09.26 BJH Release 10.92.00
pnmcrop: Make -margin effective with -blank-image=minimize.
pnmnorm: With bounds specified as -bpercent or -bsingle and
-wpercent or -wsingle, and the image has only one brightness,
don't attempt any normalization - leave image as is. (Previous
version produces all black with -keephues).
pgmtopbm: Add -randomseed.
pamfunc: Fix always wrong output with -not. Always broken.
(-not was new in Netpbm 10.40 (September 2007)).
pamdepth: fix bug: doesn't work on PAM with black and white
tuple type.
pnmnorm: Fix bug: output too dark when -bpercent and -wpercent
indicate overlapping values. Broken since Netpbm 10.43 (June
2008).
pbmtext: Fix double-free crash with -font . Introduced in
Netpbm 10.91 (June 2020).
jpeg2ktopam: Fix crash whenever the program fails. Broken in
Netpbm 10.42 (March 2008).
pamtojpeg2k: Fix failure with most -progression values. Always
broken (pamtojpeg2k was new in Netpbm 10.12 (November 2002)).
pamtojpeg2k: Fix wrong result with -tilegrdtly. Always
broken (pamtojpeg2k was new in Netpbm 10.12 (November 2002)).
pamarith: Fix crash with -compare where inputs are PBM or
BLACKANDWHITE PAM. Broken in Netpbm 10.14 (February 2003).
pamfunc: Fix crash with -changemaxval and PBM or BLACKANDWHITE
PAM input. Always broken. -changemaxval was new in Netpbm
10.65 (December 2013).
pammixmulti: Fix bug: -randomseed ignored on some systems.
Always broken. (pammixmulti was new in Netpbm 10.85 (December
2018).
pcdovtoppm: Fix some garbage from the conversion from csh to sh
in Netpbm 9.12 (March 2001) in conversion from csh arrays that
should have stopped it from working at all, despite reports from
users that they were using it.
ximtoppm: Fix bug: invalid memory references with pathological
image input. Broken in Netpbm 10.91 (June 2020).
Configure: remove obsolete question about URL to put in pointer
man pages of yesteryear.
Build: fix bug: PKG_CONFIG make variable not used for merge
build. Always broken (PKG_CONFIG was new in Netpbm 10.76
(September 2016).
20.06.28 BJH Release 10.91.00
pamstretch-gen: Add -quiet (supposedly added in 10.86, but never
worked).
pamstereogram: Add -tileable. Thanks Scott Pakin.
pcdovtoppm: Implement -version, -plain, and -quiet.
pcdovtoppm: more secure temporary file handling.
pcdovtoppm: Improve the way it fails when 'hpcdtoppm' fails.
anytopnm, pnmmargin: Fail properly when unable to create
temporary file. Broken in Netpbm 10.75 (June 2016).
winicontoppm: Fix undefined behavior for various invalid input.
Always broken. Winicontoppm was new in Netpbm 9.3 (June 2000).
winicontoppm: Fix incorrect output with 256 pixel wide or high
image. Always broken. Winicontoppm was new in Netpbm 9.3 (June
2000).
pjtoppm: Handle input stream with no transmission mode command.
Always broken. Pjtoppm was in primordial Netpbm (1991).
cameratopam: Handle I/O error on input file. Always broken.
Cameratopam was new to Netpbm in Netpbm 10.25 (June 2005).
xbmtopbm: Recognize "unsigned short" as an extension of
XBM X10 format.
pjtoppm: Fix handling of input with width unspecified or not
positive. Always broken. (Pjtoppm was in primordial Netpbm, ca
1991).
winicontopam: Fix crash with PNG icon. Always broken.
Winicontopam was new in Netpbm 10.63 (June 2013).
picttoppm: Fix bug with an input file that specifies a clip
region (ClipRgn opcode) that is not contained within the
picture frame. Result is invalid memory access. Broken
some time 1994-2002.
picttoppm: Fix incorrect output (sheared) when a blit must be
scaled. Broken in Netpbm 10.34 (June 2006) or 10.35 (August
2006).
pbmtonokia: Fix incorrect output with -txt option.
pbmtonokia: Fix incorrect output with newer compiler.
pnmtorle: Fix incorrect command and filename in header.
Broken in Netpbm 10.88 (September 2019).
cameratopam: Fix buffer overrun. Always present. (cameratopam
was new in Netpbm 10.28 (June 2005)).
cameratopam: Fix undefined behavior using 'swab' to swap bytes
in place. Always present. (cameratopam was new in Netpbm 10.28
(June 2005)).
ppmtompeg: Fix buffer overruns with very long names in input
parameter files. Always broken. Ppmtompeg was new in
Netpbm 8.4 (April 2000).
ximtoppm: Fix possible program crash due to invalid memory
reference. Always broken. ximtoppm was in primordial Netpbm,
ca 1989.
pcdovtoppm: Fix bug: accepts anything starting with -s
as equivalent to -s.
pcdovtoppm: properly selects Bash as interpreter. Broken
in Netpbm 9.12 (March 2001) (when it was called pcdindex).
20.03.26 BJH Release 10.90.00
pamundice: Add -listfile.
pamditherbw: Remove restriction to 2^18 pixels width and height
for -hilbert .
pamundice: Add error and warning messages for insane file name
pattern.
pamcut: Improve error messages for legacy command line
arguments.
pbmtopgm: Fix incorrect output when convolution area is not
square. Always broken. pbmtopgm was in primordial Netpbm,
ca 1991.
pbmtopgm: Fix crash when convolution matrix too large for word
size. Always broken. pbmtopgm was in primordial Netpbm, ca
1991.
pnmshear: Fix arithmetic overflow with shear angle near +/- 90
degrees. Always broken; pnmshear was in primordial Netpbm,
ca. 1989.
pnmshear: Fix shearing direction for angles larger than 90
degrees. Always broken; pnmshear was in primordial Netpbm,
ca. 1989.
pamditherbw: Fix bug: issue error message instead of just
ignoring one of the options when you specify -hilbert and
another halftone option.
pamdice: Fix junk output when -width or -height not specified.
pamdice: Fix crash when -width or -height is zero.
pamdice: Fix incorrect file names when -outstem contains "%s",
etc.
pgmnoise: Correct error messages for invalid height, width
arguments.
pnmquantall: remove accidentally published debugging trace.
libnetpbm: pm_getline, xvminitoppm, pamtris : Fix bug: crash
when reading empty line.
libnetpbm: pm_read_unknown_size, rawtopgm, zeisstopnm: crash
when out of memory
Build: make deb: don't include empty Recommends; newer dpkg-deb
won't accept it.
Install: Use e.g. "10.90.00" for version in pkg-config and
config file, instead of e.g. "Netpbm 10.90.00".
19.12.29 BJH Release 10.89.00
pnmpad: Add -reportonly.
anytopnm: Fix unpredictable behavior when file name contains
spaces.
pamfind: Fix typo in message.
pnmquant: Fail if user specifies both -spreadbrightness and
-spreadluminosity or both -randomseed and -norandom, rather
than just pick one.
pamrubber: Fix bug: -frame doesn't work. Always broken.
(Pamrubber was new in Netpbm 10.54 (March 2011)).
19.09.28 BJH Release 10.88.00
pnmquant: Fail if user specifies more than one of -meanpixel,
-meancolor, and -center, rather than just pick one.
pnmremap: Don't output any part of the image if program fails
because the maxval of input and map file do not match, in a
case where matching maxval is required, i.e. the user specified
-firstisdefault or -missingcolor.
ppmhist: sort secondarily by RGB with -sort=frequency, so
output is repeatable.
pnmcolormap: Add -splitpix, -splitcol, -splitdim.
Thanks Vladislav Zavjalov.
pbmtext: fix erroneous failure message with long input text.
jpeg2ktopam, pamtojpeg2k: fix negative array index. Always
broken (pamtojpeg2k was new in Netpbm 10.12 (November 2002)).
jpeg2ktopam, pamtojpeg2k: fix assertion failure. Always
broken (pamtojpeg2k was new in Netpbm 10.12 (November 2002)).
jpeg2ktopam: Fix memory leak after decoder failure. Always
broken (pamtojpeg2k was new in Netpbm 10.12 (November 2002)).
jpeg2ktopam: fix null pointer dereference. Always broken
(pamtojpeg2k was new in Netpbm 10.12 (November 2002)).
pnmtorle, rletopnm: fix wild pointer dereference when memory
allocation fails. Always broken (programs were added to
Netpbm in Release 9.0 (April 2000).
pamsumm: Fix bug: with -mean and a conflicting option such as
-sum, the program ignores one of the options. It should fail.
Always broken (pamsumm was new in Netpbm 10.21 (March 2004).
Build: fix for Cygwin, "no rule to make pm_config.h".
19.06.28 BJH Release 10.87.00
pamfind: Add -machine .
Multiple: fix bug: when you specify the same option twice, you
can get a syntax error, with the message telling you you
specified some other option that conflicts with it. Should just
take the last setting.
pnmtopng: Fix bug: Defaults to no filters. Should be all
filters. Effect is larger PNG output. Broken after Netpbm
10.26 (January 2005) but no later than Netpbm 10.35 (August
2006).
pnmtopng: Fix bug: Doesn't allow multiple filter options.
Broken after Netpbm 10.26 (January 2005) but no later than
Netpbm 10.35 (August 2006).
pnmcrop: Don't allow -borderfile with -reportXXX. It doesn't
work.
pnmcrop: fix bug: -bgcolor doesn't work. Always present
(-bgcolor was introduced in Netpbm 10.86 (March 2019)).
pbmtext: fix bug: don't ignore -builtin when specified with
-font. Fail with syntax error instead.
pbmtozinc: fix wrong output on big-endian machines. Broken in
Netpbm 10.71 (June 2015).
pbmpage: Fix error message for invalid syntax.
pamtris: Fix bug: debug trace left in
19.03.30 BJH Release 10.86.00
Add pamfind.
Add pambrighten.
Add pamhue.
pnmcrop: Add -bg-color, bg-corner, -reportfull, -reportsize,
-blank-image .
pamtopng: Add -interlace .
pamenlarge: Add -scale, -xscale, -yscale .
pamenlarge: Much faster for PBM with xscale factor above 10;
slightly faster for xscale factor 2-10.
pamfile: Add -machine and -size .
pamscale: Add -reportonly
pamstretch-gen: Add -quiet, -plain.
pamstretch-gen: Use -dropedge on the 'pamstretch' piece for
better looking output.
pamstretch: Accept scale factor of 1 as a parameter (already
was accepted with -xscale and -yscale options).
pamstretch: Don't mess with edge when scale factor is 1,
regardless of -dropedge and -blackedge.
ppmwheel: Add -huevalue, -huesaturation, -maxval .
various: Fix unnormalizing code so a value exactly between two
sample values rounds consistently up. Affects many programs.
pstopnm: Fix bug: -textalphabits has no effect. Always broken.
(-textalphabits was new in Netpbm 10.53 (December 2010)).
pamtopng: Fix sBit chunk, bit shift value for 1-, 2-, and 4-bit-
per-sample images. Always broken (Pamtopng was new in Netpbm
10.71 (June 2015)).
pamtopng: Fix buffer overrun. Always broken (Pamtopng was new
in Netpbm 10.71 (June 2015)).
pnmtopng: fix bug: -interlace ignored. Broken in 10.55
(June 2011).
pamstretch: Reject very large scale factors instead of producing
incorrect output.
ppmbrighten: Fix crash with -normalize when there is only one
intensity in the image. Always broken - Ppmbrighten was new in
the first Netpbm release in 1991.
ppmdraw: Fix bug: 'setlinetype nodiag' says invalid type.
Always broken. (Ppmdraw was new in Netpbm 10.29 (August 2005)).
Build: split link/ directory in package tree into staticlink/
and sharedlink/ . Make 'installnetpbm' do separate prompts to
install static libraries and shared library stubs. Make
'installnetpbm' install clean symlink in the usual case that the
shared library stub and shared library are in the same
directory.
Build: update 'mkdeb' so it works on Debian 9 (in addition to
Debian 8). Thanks Neil R Ormos .
18.12.29 BJH Release 10.85.00
pnmpaste: Add -nand, -nor, and -nxor.
pamcut: add -cropleft, -cropright, -croptop, -cropbottom.
ppmtobmp: respect -bpp with PBM input.
bmptopnm: allow single color colormap with bpp 1.
bmptopnm: validate plane count = 1.
bmptopnm: Add RLE4 compression decoding. This was ostensibly
added in Netpbm 10.32 (February 2006), but never worked.
Add pammixmulti. Thanks Scott Pakin (scott+pbm@pakin.org).
pamtotga: Add -cmap16 .
pamtris: Add -rgb, -grayscale. Add w parameter to vertex
instructions. Fix perspective correctness. Thanks Lucas Brunno
Luna .
picttoppm: accept rectangle specifications in input that have
the corners in any order, not just upper left, then lower right.
pamtotga: identify compressed colormapped format in error
message saying the program doesn't know how to interpret it.
pamtotga: Ignore extra planes in black and white or grayscale
input instead of generating junk output.
Merge build: make old names for JPEG, TIFF, and PNG converter
programs work (function previously omitted by design because it
was too hard).
bmptopnm: Fix wrong output for non-colormapped OS2 BMP. Broken
in Netpbm 10.18 (September 2003).
bmptopnm: Fix array bounds violation when index value in raster
is too big. Broken after Netpbm 10.11 (October 2002) but before
10.19 (November 2003).
libnetpbm: Fix invalid memory reference in color name processing
when trivial memory allocation fails.
pamtojpeg2k: fix incorrect interpretation of -ilyrrates option
when it contains multiple delimiter characters in a row. Always
broken (pamtojpeg2k was new in Netpbm 10.12 (November 2002)).
pnmtojbig: fix incorrect handling of -x option. Always broken
(pnmtojbig was new in Netpbm 9.2 (May 2000)).
pjtoppm, pbmtoppa: fix arithmetic overflow.
Build: fix parallel make.
Build: fix reference to nonexistent getline on Mac OS X 10.6.
Build: fix reference to nonexistent strndup on Mac OS X 10.6.
Merge build: fix duplicate symbol 'prefabCode' in g3topbm,
pbmtog3. Introduced in Netpbm 10.79 (June 2017).
18.09.29 BJH Release 10.84.00
Add pamaltsat. Thanks Anton Shepelev .
Add pamtris. Thanks Lucas Brunno Luna
.
libpbmfont, pbmtext: fix bugs with BDF file lines with
insufficient number of fields. Unknown effect.
pbmtext: -wchar works with built-in fonts.
pbmtext: improved -verbose information about BDF fonts:
include CHARSET_REGISTRY, CHARSET_ENCODING.
libnetpbm font facilities: built-in fonts work with wide
characters.
pbmtext; libnetpbm BDF font processing: fix invalid memory
reference when BDF font file has invalid syntax. Broken
in primordial Netpbm, ca 1993.
pamgetcolor: fix bug: gets color of only the top half of a
region.
pnmfiasco, fiascotopnm: Fix trivial memory leak. Always broken
(programs were new in Netpbm 9.6, July 2000).
18.06.30 BJH Release 10.83.00
Add pamlevels. Thanks Anton Shepelev .
Add pamgetcolor. Thanks Anton Shepelev .
Add rgb-:r/g/b color specification format.
pngtopam: Fix bogus warning of non-square pixels when image does
not contain pixel resolution information. Introduced in Netpbm
10.48 (September 2009).
pstopnm: Fix divide-by-zero crash when Postscript input says
the image has zero size.
pstopnm: Fix divide-by-zero crash when computed resolution
rounds down to zero dots per inch.
pbmmask: Fix invalid memory reference with zero-dimension
input image. Broken in primordial Netpbm, ca 1989.
pamtojpeg2k: Fix incorrect metadata in output with GRAYSCALE PAM
input. Always broken (pamtojpeg2k was new in Netpbm 10.12
(November 2002)).
libnetpbm: Add pnm_colorspec_rgb_integer,
pnm_colorspec_rgb_norm, pnm_colorspec_rgb_x11,
pnm_colorspec_dict, pnm_colorspec_dict_close.
libnetpbm: Add pnm_parsecolor2.
libnetpbm: Add pnm_allocpamtuplen, pnm_freepamtuplen.
libnetpbm: Make the normalized tuple functions respect the
allocation depth specified in struct pam (member
'allocation_depth') instead of using the actual tuple depth
(member 'depth').
ilbmtoppm: Fix bug: may fail with bogus error message about an
invalid CLUT chunk if image has a CLUT chunk. Introduced after
Netpbm 10.26 (January 2005) and at or before Netpbm 10.35
(August 2006).
18.03.25 BJH Release 10.82.00
pbmtext: Add -wchar.
pbmtext: Add -text-dump option.
ppmhist: Add color summary to top of output, (except with
-noheader).
pnmremap: Add -randomseed.
pnmquant: Add -norandom, -randomseed.
pamtogif: Add -noclear option.
giftopnm: Check "data width" value from GIF image properly:
can't be bigger than 11, because the minimum code size is one
more than the data width and the maximum code size is 12. (Note
that GIF spec prohibits anything more than 8).
pnmpsnr: Add -targetX options.
ppmrainbow: Add "ppmrainbow: " to error messages, like other
programs.
ppmrainbow: improve error message.
g3topbm: Fix bug - produces invalid empty PBM image if input
image is empty.
ppmpat: Fix bug - crash or junk output with -camo or -anticamo
and no -color. Introduced in Netpbm 10.78 (March 2017).
mrftopbm: Fix bug - wrong error messages or output when input
invalidly short. Always broken (mrftopbm was new in Netpbm
10.18 (September 2003).
Build: fix compile failure on systems without strnlen (such
as MacOS X before 10.7). Broken in 10.81 (December 2017).
17.12.30 BJH Release 10.81.00
sldtoppm: -lib and -dir don't work - always says slide not
found. Broken in Netpbm 10.63 (June 2013).
sldtoppm: fix bug: says AutoCAD slide file isn't an AutoCAD
slide file. Broken after Netpbm 10.26 (January 2005), but no
later than 10.35 (August 2006).
sldtoppm: fix bug: wild memory accesses, weird messages when
invalid input file has unterminated strings.
17.09.30 BJH Release 10.80.00
pnmtopalm: Refuse to create a compressed image with more than 8
bits per pixel.
pbmtext, libnetpbm font facilities: allow glyphs in font files
that have no bitmap data; just used for their advance value to
code a space.
pbmtext: Improve error message when there is a problem reading
the font file.
libnetpbm font facilities: consider font invalid if a glyph is
more than 65536 pixels high or wide.
ppmshadow: handle images with a black background and low
contrast images (i.e. little difference between foreground and
background).
ppmbrighten: fix bug: red pixels change hue. Introduced in
after Netpbm 10.11 (October 2002) and before Netpbm 10.18
(September 2003).
palmtopnm: fix crash if invalid input contains color index that
is not in the palette. Always broken (palmtopnm was new in
Netpbm 9.10 (October 2001)).
pnmtopalm: fix incorrect output with certain input files and
-packbits_compression. Always broken. -packbits_compression
was new in Netpbm 10.27 (March 2005).
pnmtopalm: Correct error message recommending running
pnmquant when the real solution is to run pnmremap to modify the
image to Palm standard colors.
pnmtopalm: Fix bug causing "color not in colormap" failure with
-colormap and maxval other than 255.
libnetpbm: font facilities: fix invalid memory reference with
certain font files.
libnetpbm: ppm_readcolordict: Improve error message when there is
a problem reading the color dictionary. Affects ppmhist.
pgmmake: Fix bug: treats non-numeric gray-level argument as zero.
Always broken (Pgmmake was new in Netpbm 10.32, February 2006).
pdbimgtopam, pamtopdbimg: fix various cases of incorrect output,
some always present (programs were new in Netpbm 10.52.00
(October 2010)).
libnetpbm: pnm_parsecolorn(), pnm_parsecolor(): fix parsing of
rgb: color specifications: yields value slightly too dim.
Affects many programs. Broken in Netpbm 10.79 (June 2017).
Makeman: make it work with Python 3.6 II.
17.06.30 BJH Release 10.79.00
Add pamtable .
pamgauss: Add -maximize, -oversample . Thanks Anton Shepelev
pnmconvol: Extend -normalize to be applicable to convolution
kernels specified by PGM file. Thanks Anton Shepelev
g3topbm: tolerate fill bits.
pbmtog3: Add -align8, -align16.
ppmshadow: Improve results for very small maxval.
ppmshadow: eliminate extraneous messages from pnmconvol.
libnetpbm: Add pnm_parsecolorn().
libnetpbm: Improve error message for purported image that is
exactly 1 byte long (so ends in the middle of what would be the
magic number).
pbmtox10bm: Get the Perl interpreter for this Perl program from
the PATH instead of hardcoded as /usr/bin/perl (like all other
Netpbm Perl programs).
ppmcolormask: fix incorrect output when input maxval is not 255.
Always broken (ppmcolormask was new in Netpbm 9.0, April 2000).
bmptopnm: fix crash when input is a Windows BMP with negative
number for width. Always broken. (bmptopnm was new, as
bmptoppm, in original Netpbm, 1992).
pamcomp: fix incorrect output with -mixtransparency.
Always broken. (-mixtransparency was new in Netpbm 10.56,
September 2011).
pamcomp: remove debug trace message with -mixtransparency.
Always broken. (-mixtransparency was new in Netpbm 10.56,
September 2011).
pnmtojpeg: fix array bounds violation in argument list. Always
broken (pnmtojpeg was new to Netpbm in Netpbm 8.2 (March 2000).
pamcrater: fix incorrect output with non-square image.
Introduced in Netpbm 10.69 (December 2014).
svgtopam: fix treating negative width or height values in SVG
like twos complement positive numbers; fail instead. Always
broken (svgtopam was new in Netpbm 10.33 (March 2006)).
svgtopam: fix error messages when input has splines or negative
positions. Always broken (svgtopam was new in Netpbm 10.33
(March 2006)).
libnetpbm: fix bug: pm_system_XXX closes Standard Input if you
supply a Standard Output accepter but not a Standard Input
feeder. Broken since Netpbm 10.40 (September 2007).
Windows: fix bug: pm_system_lp() and pm_system_vp() fail
silently instead of with a clear error message in an environment
that does not provide Unix process management. Always broken.
(pm_system_lp and pm_system_vp were new in Netpbm 10.40
(September 2007), but wouldn't even compile until Netpbm 10.42
(March 2008)).
installnetpbm: Accept globs for directory name responses
(notably, ~/DIR).
makeman: Make it work with Python 3.6.
Build: don't try to build standardppmdfont.c if it already
exists (so don't require ppmdcfont to exist). Broken around
Netpbm 10.35 (2006).
Build: Define _XOPEN_SOURCE=500 in source files that use M_PI.
While C libraries in the past have always provided this with
just _XOPEN_SOURCE=null, it appears that M_PI is actually
defined by Single Unix Specification 2, aka UNIX98, for which
you need _XOPEN_SOURCE=500, and Cygwin has changed to enforce
this.
Build: document MinGW _XOPEN_SOURCE incompatibility and add
warning to Configure.
Debian packaging: fix bug: don't try to include Manweb files, as
it is no longer packaged by 'make package'.
17.03.28 BJH Release 10.78.00
ppmpat: Add -color.
ppmpat: Add -argyle1, -argyle2.
pnmtotiff: Fail with -miniswhite or -minisblack on color image
rather than produce an invalid TIFF.
tifftopnmcmyk: Default rows per strip to the TIFF library
default instead of whatever yields 8K strips.
--version global option: with SOURCE_DATE_EPOCH environment
variable, display source code datetime instead of build
datetime. And when displaying build datetime, do it in the
local time of the process running the command instead of the
process that did the build.
tifftonm: Fix incorrect PBM output with two-color paletted TIFF
image. Broken in primordial Netpbm, ca 1990.
tifftopnm: Fix memory corruption when image is more pixels than
can be represented as a C unsigned integer. Broken in Netpbm
10.11 (October 2002).
tifftopnmcmyk: Fix bug: fails with very wide images and no
-rowsperstrip. Always broken. (Tifftopnmcmyk was new in Netpbm
8.2 (March 2000).
svgtopam: Fix crash when out of memory. Always broken (svgtopam
was new in Netpbm 10.33 (March 2006)).
pnmcrop: Add -closeness
libnetpbm: Add ppmd_pathbuilder_* functions.
libnetpbm: ppmd_fill_path: remove debug trace. Always broken
(ppmd_fill_path was new in Netpbm 10.34 (June 2006).
Build: don't create pointer man pages anymore. These were
classic man pages, created by 'make package', one for each
program, that just told the user to get the manual from the web
and that other options for manuals are available at install
time. Getting documentation online is commonplace enough now
that the user doesn't need to be told to do it or that there are
other options. The existence of pointer man pages was,
meanwhile, misleading, since it looked from the outside like
they actually contained documentation.
Build: Don't package or install Manweb setup (for accessing
manuals on the web with Manweb). Probably 100% unused and
distracting.
Debian package: change dependencies to be compatible with
Debian 8.
16.12.25 BJH Release 10.77.00
pnmpad: Fix bug: incorrect output width. Introduced in
Netpbm 10.72 (July 2015).
Makeman: Slight improvement to formatting of man pages.
Thanks Werner LEMBERG .
Test: Skip tests of some parts that are configured out of the
build.
16.09.27 BJH Release 10.76.00
pnmquantall: Fix failure when temporary file location is not the
same filesystem as the output file. Always broken (pnmremap was
new in Netpbm 10.58 (March 2012)).
pnmquantall: Fix incorrect handling of when the Pnmremap or
the final rename fails. Always broken (pnmremap was new
in Netpbm 10.58 (March 2012)).
giftopnm: Fix bug: crash on little-endian computers that can't
toleration unaligned memory access. Thanks Ignatios Souvatzis
(is@netbsd.org). Broken in Netpbm 10.47 (June 2009).
cmuwmtopbm: Fix trivial memory leak. Always broken (cmuwmtopbm
was in primordial Pbmplus, in 1988).
Build: Add PKG_CONFIG make variable.
Build: tifftopnm.c: Fix undefined WIFSIGNALED, etc.
16.06.26 BJH Release 10.75.00
pbmtextps: Add -leftmargin, -rightmargin, -topmargin,
-bottommargin, -ascent, -descent, -pad, -crop.
pbmtextps: Add -dump-ps.
pbmtextps: Abort with error instead of generating single space
when user supplies no text.
pbmtextps: Accept fractional -fontsize.
pbmtextps: Change margins for non-default fonts.
pbmtextps: Minor output changes caused by code cleanup.
bmptopnm: Add ability to convert Version 4 and 5 Windows BMP.
pbmtext: Remove undocumented -dump option; add 'genfontc'
development tool (buildtools/ directory) to replace it.
pbmtext: Add -dry-run
pbmtext: Add -dump-sheet
pbmtext: Speedup: renders directly in raw PBM.
pbmreduce: Add -randomseed.
anytopnm, pnmmargin, pnmquant, ppmquant, pnmquantall, pgmcrater,
ppmfade, ppmrainbow, ppmshadow, pbmtox10bm, pamstretch-gen:
Add -version.
fiascotopnm: Change -version to include Netpbm version.
libnetpbm: Add pm_system2(), pm_system2_lp(), pm_system2_vp() -
same as pm_system(), etc. but returns the termination status.
pamarith: Fix incorrect output when maxvals differ, for
-add, -multiply, -mean, -min, -max. Broken in Netpbm 10.41
(December 2007).
pbmtextps: Fix bug: input text or font name with Postscript
control characters messes up the Postscript program. Always
broken (pbmtextps was new in Netpbm 10.0 (June 2002).
hpcdtoppm dummy version: Update web link to real version.
ppmhist: Fix incorrect color names. Introduced in
Netpbm 10.19 (November 2003).
ppmshadow: Fix bug: don't ignore invalid option. Introduced in
Netpbm 10.9 (September 2002).
pnmpaste: Fix possible invalid memory access. Introduced in
Netpbm 1.44 (September 2008).
pbmreduce: Fix undefined behavior when scale factor argument is
too big. Always present (pbmreduce was new in September 1989).
pbmtext: Fix bug: invalid memory reference when text contains
code points > 127. Broken in 10.74 (March 2016).
pnmtofiasco, fiascotopnm: Fix incorrect math on systems with
unusual floating point representation. Always broken (programs
were new in Netpbm 9.6 (July 2000).
cameratopam: Fix invalid memory reference; effect unknown.
Introduced in Netpbm 10.68 (September 2014).
Install on Windows: Fix backward compatibility symlinks for
pnmtoplainpnm, pnmquantall.
Build: Remove use of strndup so it compiles on Mac OS X 10.6.
Broken in 10.74.
Build: Remove use of isfinite so it compiles with C89 standard
compiler.
16.03.27 BJH Release 10.74.00
pbmtext: Produce same image when you run pbmtext with -width
explicitly set to the width you get when you don't specify
width.
pbmtext: Ignore -nomargins when -width is specified.
pbmtext: Report when line ends are dropped because of
truncation.
pbmtext: Fix bug: if input has a code point that is not in the
font, Pbmtext substitutes space, but behavior is undefined if
font doesn't have space either. Now it aborts the program in
that case.
pbmtext: Fix bug: Respect -width when specified.
pbmtext: Fix bug: Deal correctly with negative -space.
pbmtext: Fix bug: Consider all characters in line, not just
first and last, in determining line width.
libnetbpm font facility (so pbmtext): Fix bug: undefined
behavior when font definitions are invalid in any of various
ways.
libnetpbm font facility (so pbmtext): Fix incorrect font names
in error messages.
pnmtopsnr: Add -machine, -max .
Netpbmlib: Add /usr/local/netpbm/lib and /etc/X11 to search
path for rgb.txt.
makeman: Add some text replacements to solve glitches.
Handle &mdash, &minus.
15.12.26 BJH Release 10.73.00
anytopnm: use --mime-type option instead of --mime on newer
'file' program (on which --mime has a new meaning so that
'anytopnm' cannot recognize some file types).
anytopnm: recognize "Netpbm PAM" non-mime output from 'file'
program as indicating PAM.
pnmtops: fix bug: always thinks -level=N is -level=1.
Introduced after Netpbm 10.26 (January 2005) but before 10.35
(August 2006). Manifests only with recent compilers.
pnmpaste: fix bug with PBM: incorrect output. Introduced in
Netpbm 10.44 (September 2008).
Build: fix undefined reference to parse_printf_format etc. on
system that doesn't have that facility. Broken in Netpbm 10.69
(December 2014).
Build: fix superfluous error message when USER environment
variable contains whitespace. Broken since primordial Netpbm.
Windows build: fix bug: make clean doesn't clean icon/netpbm.o.
Broken since Netpbm 10.67 (June 2014).
Test: improved pnmpaste test.
15.09.26 BJH Release 10.72.00
Add pamunlookup .
pamtopng: Implement -itxt .
pamlookup: Add -byplane .
pbmtoescp2: Add -stripeheight .
phmtoescp2: Add -resolution .
pbmtoescp2: Add -formfeed .
pbmtoescp2: Add -raw .
pbmtoescp2: Add -resolution=720 .
pbmtoescp2: Pad output horizontally to a multiple of 8 columns
and vertically to a whole stripe to prevent image loss.
fitstopnm: Add message saying you're probably making a mistake
if you have a 3-D image and don't specify -image. The third
dimension is almost always time in practice.
fitstopnm: Fix -min and -max. Broken in Netpbm 10.39 (June
2007).
pnmtopclxl: fix buffer overrun causing unpredictable behavior.
(Introduced in Netpbm 10.54 (March 2011).
pnmtopclxl: fix wild memory access when out of memory. Always
broken (Pnmtopclxl was new in Netpbm 10.6 (July 2002)).
pnmtopclxl: fix wild memory access with pathologically large and
uncompressible image. Always broken (Pnmtopclxl was new in
Netpbm 10.6 (July 2002)).
pnmtopclxl: fix silent output corruption when a file write
fails. Always broken (Pnmtopclxl was new in Netpbm 10.6 (July
2002)).
escp2topbm: Fix -plain. Always broken (escp2topbm was new in
Netpbm 10.18 (September 2003)).
pnmpad: Add -mheight, -mwidth.
ppmtoilbm: Fix failure with -hamforce and -nocompression.
Broken in Netpbm 9.12 (March 2001).
makeman: fix Python syntax error. Introduced in Netpbm 10.70
(June 2015).
15.06.28 BJH Release 10.71.00
Add pamtopng. Thanks Willem vanSchaik (willem@schaik.com).
pnmtopng: Add -srgbintent.
pamstereogram: Add -xbegin. Change default to render from
center outwards instead of from right to left, thus making the
center of the image the crispest part. Thanks Scott Pakin
(scott+pbm@pakin.org).
pamstereogram: Allow -xshift and -yshift to be negative. Thanks
Scott Pakin (scott+pbm@pakin.org).
pnmpsnr: Add -rgb.
ppmtoicr: remove -rle option. Actually, it never worked
because of a bug. Now it isn't expected to. Ppmtoicr was
new in 1991.
pnmtopalm: Fix arithmetic overflow with ridiculously large
image. Introduced after Netpbm 10.26 (January 2005) but before
Netpbm 10.35 (August 2006).
palmtopnm: Fix distorted output with PackBits compressed input.
Always broken (Ability to convert PackBits input was new in
Netpbm 10.27 (March 2005).
pbmtoepson: fix -protocol option - never works and sometimes
crashes program. Always broken (-protocol was new in Netpbm
10.23 (July 2004).
pbmtoppa: fix buffer overruns, double-free crashes. Always
broken (pbmtoppa was new in Netpbm 9.1 (March 2000).
pbmtomatrixorbital: fix bug: fails if you specify the input
file name argument. Always broken. (pbmtomatrixorbital was
new in Netpbm 10.18 (Setpember 2003).
sbigtopgm: fix detection of camera type. Always broken
(sbigtopgm was new in Netpbm 8.3 (March 2000)).
sbigtopgm: fix recognition of compressed image. Broken in
Netpbm 10.70 (March 2015).
pbmtogo: Fix bug: garbage first row. Broken at least since
November 1989.
pbmtogo: Fix bug: buffer overrun with certain input. Broken
at least since November 1989.
pbmtoescp2: Fix bug: overrun on certain input. Always broken
(pbmtoescp2 was new in Netpbm 10.18 (September 2003)).
escp2topbm: Fix buffer overrun on certain input. Always broken
(escp2topbm was new in Netpbm 10.18 (September 2003)).
libnetpbm: pm_stripeq: fix bug: wild pointer access when
comparator is shorter than comparand. Doesn't affect function,
but could cause crash or privacy exposure. Affects reading of a
PAM file by any program. Introduced in one of Netpbm 10.27
(March 2005) through 10.35 (August 2006).
pnmconvol: Fix bug: wrong output for pixels that convolve to
negative values (should be clipped to zero). Introduced in
Netpbm 10.68 (September 2014).
pbmtog3: Fix buffer overrun. Introduced in Netpbm 10.23
(July 2004).
cameratopam: Fix arithmetic underflow in JPEG processing;
unknown effect.
pbmtoxbm: Fix bug: crash with zero width input. Broken in
Netpbm 10.37 (December 2006).
sbigtopgm: fix buffer overrun with invalid input image. Always
present (sbigtopgm was new in Netpbm 8.3 (March 2000)).
pnmtorle: Fix buffer overrun with long file name. Always
present. (pnmtorle was new to Netpbm in Netpbm 9.0 (April
2000)).
pbmtopk: Fix buffer overrun with long file name. Always
present. (pbmtopk was new in Netpbm 1 (March 1991)).
pktopbm: Fix buffer overrun with long file name. Always
present. (pbmtopk was new in Netpbm 1 (March 1991)).
ppmtoyuvsplit: Fix buffer overrun with long file name. Always
present. (New in Netpbm 1 (March 1991)).
pbmtopi3: Fix bug: wrong output when input is higher or wider
than 640 pixels. Always broken (pbmtopi3 was new in September
1991).
st4topgm: Fix bug: with no argument, uses file named "'" instead
of Standard Input. Always present (st45topgm was new in Netpbm
10.70 (March 2015).
pbmtomgr: Fix incorrect output when input is too large (must be
at most 4095 pixels high or wide). Always broken. (pbmtomgr
was new in 1989).
pbmtomacp: fix wild pointer dereference with -b larger than
image height. Always broken. (pbmtomacp was new in X.V11R3
(March 1988).
ppmtorgb3: Fix buffer overflow with long input file name.
Always present. (ppmtorgb3 was new in X.V11R4 (November 1989).
ppmtoarbtxt: fix bug: wrong output when high numbers represent
darker. Broken in Netpbm 10.69 (November 2014).
ppmtoarbtxt: better rounding in sample values.
libnetpbm: Remove bitio.h as an external interface.
test: replace some GNU-only code with more portable code that
works on OS X. Thanks Ryan Schmidt .
makeman: deal properly with backlash in source. But something
was wrong with this change and it caused the program always to
fail, so we reversed this change in 10.72.
Build: don't build and install libjbig and libjasper if we
are using external versions of them instead.
Build: various cross-compile fixes, especially for MinGW.
Build: work around bug in GCC < 4.2 related to SSE2 builtins
that causes compile of pamflip to fail.
Build: fix 'make package' where config.mk sets a subdirectory
other than 'man' for the manual.
Build: improve pointer man page text.
15.03.29 BJH Release 10.70.00
Add st4topgm, pgmtost4.
Add pgmtosbig. Mainly a test tool for sbigtopgm.
Add yuy2topam. Thanks Michael Haardt.
tifftopnm: allow input file to be nonseekable.
Thanks Ludolf Holzheid .
pnmhisteq: add -noblack and -nowhite. Idea from Andrew Brooks
.
pgmmorphconv: add -gradient. Thanks Michael Haardt
.
giftopnm: Fix bug: crashes if purported GIF has neither a global
color map nor a local one.
pgmmorphconv: fix bug: always produces PGM Plain format. Always
present (program was added to Netpbm in Release 10.0 (June 2002)).
pamtilt: fix bug: unconditional crash. Broken in Netpbm 10.63
(June 2013).
pnmgamma -srgbtobt709, -bt709tosrgb: fix bug; incorrect output
nearly always. Always broken (These options were new in
Netpbm 10.32 (February 2006)).
pamtosvg: fix use of unset variable; probably results in a
crash. Always present (pamtosvg was new in Netpbm 10.33 (March
2006)).
cameratopam: fix bug: variable used before set; unknown impact.
Introduced in Netpbm 10.66 (March 2014).
On Windows, don't leave temporary files around (previous code
did so because unlink of an open file fails in Windows; new
code deletes temporary files via atexit). Thanks
Ludolf Holzheid .
Libnetpbm: fix external header file pm.h so it does not include
internal header file pm_c_util.h. Introduced in Netpbm
10.69 (December 2014).
build: fix incompatible type compilation error in giftopnm.
Introduced in Netpbm 10.38 (March 2007) (but obviously manifests
only in recent build environments).
build: fix compile failure in wordint_access_be.h with Bigendian
target platforms. Introduced in Netpbm 10.63 (June 2013).
build: fix compile failure in pbmtomacp, ppmtoacad, pgmabel:
TRUE redefined. Introduced in Netpbm 10.69 (December 2014).
14.12.25 BJH Release 10.69.00
pnmnorm: add -bsingle, -wsingle.
ppmtoarbtxt: Do some validation of format strings. Thanks
Akira F Urushibata .
pamcrater: Add -verbose.
ppmtoarbtxt: Fail if a #() escape sequence runs off end of
file or is too long to process; before, the program would
treat the text from # to EOF or where the buffer filled up
as literal text, even ignoring any #() within.
NetBSD: show actual numbers in messages instead of "f" or
no information, by using NetBSD's vasprintf.
Make %g in messages display the actual number instead of "g" in
messages where platform doesn't have vasprintf. (But scores of
%f are still left).
anytopnm: convert all images in a multi-image GIF instead of
just the first.
Improve "bad magic number" message from pbmXXX, and pgmXXX, and
pnmXXX programs.
Fix bogus message from ppmXXX programs when the input is not
(per the magic number) a Netpbm image. Introduced after
Netpbm 10.26 (January 2005) but before Netpbm 10.35 (August
2006).
ppmtoarbtxt: Fix some undefined behavior when program limits
are exceeded (i.e. buffer overruns).
pambackground: fix bug: segfault or incorrect results in most
cases. Thanks Ludolf Holzheid (ludolf.holzheid@gmx.de).
Introduced in Netpbm 10.37 (December 2006).
Windows build: fix universal build failure with "No rule to make
...icon.netpbm.oLINKERISCOMPILER...". Broken in Netpbm 10.67
(June 2014).
14.09.26 BJH Release 10.68.00
Split pgmcrater into pamcrater and pamshadedrelief.
pnmconvol: add -bias .
Remove pnmcomp, install a pnmcomp symlink for pamcomp.
Fix incorrect option parsing when there are multiple common
options (e.g. -plain -quiet). Always broken. (Possibility of
specifying multiple common options that don't cause the program
to ignore every other option (like -version) was new in Netpbm
10.10 (October 2002).
cameratopam: fix buffer overflow. Always present. (cameratopam
was new in Netpbm 10.28 (June 2005)).
cameratopam: fix incorrect output introduced in Netpbm 10.51
(June 2010).
ppmtopict: Fix unconditional crash. Introduced in
Netpbm 10.52 (September 2010).
pcdovtoppm: Fix crash due to invalid operator == on some
systems. Always broken (pcdovtoppm was new sometime between
Netpbm 9.25 (March 2002) and Netpbm 10.11 (October 2002)).
Build: change _XOPEN_SOURCE from 600 back to 500 in 7 files. It
was changed from 500 to 600 in Subversion revision 1731 in
Netpbm 10.60 (September 2012) because that made a similar
version of Netpbm compile on Mac OSX. Without it, strdup did
not get defined. But this is apparently a bug in Mac OSX, since
X/Open 500 does have strdup. Furthermore, many other Netpbm
files use strdup and apparently compile OK on Mac OSX without
600. Finally, we see today that Illumos system header files
deliberately kill the compilation if the compiler is pre-C99 and
_XOPEN_SOURCE is 600. So we go back to 500 and if the problem
on Mac OSX gets reported again, we will look more deeply.
Build: change _XOPEN_SOURCE from 600 back to 500 in
jpeg2ktopam.c and pamtojpeg2k.c. It was changed from 500 to 600
in Netpbm 10.41 (December 2007), reportedly to get int_fast32_t,
etc. defined on AIX, but other files that use int_fast32_t
don't have it today, so that must be wrong. See above for the
drawback of 600.
Build: fix undefined symbols in fiasco converters with
static libraries.
Build: provide means of setting the default search path for
rgb.txt color database via config.mk.
Build: fix bug which prevents JBIG converters from building with
internal JBIG library. Introduced in 10.67.00.
Build: fix bug which makes build of Ppmsvga fail (which is
attempted only on a system with libvga). Introduced in Netpbm
10.63 (June 2013)
Build: fix build failure in an environment that does not have
__inline . Introduced some time between Netpbm 10.26
(January 2005) and Netpbm 10.35 (August 2006).
Build: fix build failure on SCO OpenServer due to SIGURG not
existing. Broken in Netpbm 10.49 (December 2009).
Build: Declare _XOPEN_SOURCE >= 500 in source files that use
strdup.
Build: fix compile failure due to use of reserved word
'stdout'.
Build with 'installosf': Fix crash due to invalid operator ==
on some systems.
14.06.29 BJH Release 10.67.00
sgitopnm: add ability to convert 2-channel SGI image.
Thanks Akira F Urushibata .
sgitopnm: add ability to work with non-seekable input (e.g. a
pipe). Thanks Akira F Urushibata .
pamtotiff: add -output, use Standard Output normally (before, it
had to be seekable. Also, you could do an append operation to
Standard Output; now you have to use -output for that). Thanks
Akira F Urushibata .
pamsharpness: put primary output on Standard Output instead of
on Standard Error as a Netpbm message.
pamflip: fix bug when built with WANT_SSE=n: column-for-row
transformations of PBM produce garbage output. Introduced in
10.65 (December 2013).
sgitopnm: fix bug: no output if input is RLE compressed. Broken
in Netpbm 10.53 (December 2010). Thanks Akira F Urushibata
.
jpegtopnm -dumpexif: fix incorrect display of resolution.
Always broken. (-dumpexif was new in Netpbm 9.18 September
2001).
jpegtopnm -dumpexif: fix truncated make, model, or datetime.
Always broken. (-dumpexif was new in Netpbm 9.18 September
2001).
jpegtopnm -dumpexif: fix wild pointer with invalid EXIF data.
Always broken. (-dumpexif was new in Netpbm 9.18 September
2001).
Windows build: include an icon in every executable. The icon
was designed by Ron Vantreese (ait_frog-netpbm@yahoo.com).
Build: fix bug in which null value is not taken to mean
"in the system search path" for JBIGHDR_DIR and JASPERHDR_DIR.
Build: Fix inconsistent use of upper and lower case Y and N in
make variables, causing static library not to get built.
Introduced in 10.66.
Build: fix dependencies in .deb package so they work with
Debian 6 at least. Always broken (.deb capability was new in
10.66).
14.03.30 BJH Release 10.66.00
Add pamvalidate. Thanks Akira F Urushibata .
Add pamfix: Does what pamfixtrunc did, plus repairs excessive
sample values.
pamfixtrunc: implement as call to new pamfix.
pgmhist, ppmhist: Add -forensic: Analyze invalid >maxval pixels.
Thanks Akira F Urushibata .
pgmramp: add -diagonal. Thanks Akira F Urushibata
.
libnetpbm: Read functions validate that sample values do not
exceed maxval. Thanks Akira F Urushibata .
libnetpbm: Validate image dimensions are small enough that you
can allocate a row buffer. Thanks Akira F Urushibata
.
pgmhist: fix incorrect report of quantiles or crash due to array
bounds violation in some builds. Thanks Akira F Urushibata
. Always broken. Quantile reporting was
new in Netpbm 10.61 (December 2012).
pgmhist: fix buffer overrun with -median. Always broken.
-median was new in Netpbm 10.61 (December 2012).
pnmmargin: fix for size 0 and superfluous "unexpected operator"
message with size != 0. Introduced in 10.42.
pstopnm: fix wrong interpretations of -xsize and -ysize when
rendering image in landscape (rotated). This can appear as
stretching and squashing. Probably always broken.
pstopnm: fix wrong orientation sometimes when you specify
both -xsize and -ysize. Introduced in 10.65.
pgmramp: fix bogus output with really large images. Thanks
Akira F Urushibata . Always broken.
ppmrelief: fix out-of-bound values in output. Always broken.
ppmrelief was new in primordial Netpbm in 1989.
Thanks Akira F Urushibata .
ppmrelief: fix crash when input image is too small. Always
broken. ppmrelief was new in primordial Netpbm in 1989. Thanks
Akira F Urushibata .
pgmtexture: fix buffer overflow. Always broken. (Program
was added in primordial Netpbm in 1991).
pamdeinterlace: fix incorrect output with -takeodd and image has
only one row. Always broken (pamdeinterlace was introduced in
Netpbm 9.21 (January 2001)). Thanks Akira F Urushibata
.
configure: warn if user says JPEG library is in the linker's
default search path, but it isn't.
build/install: add tools for creating a Debian package.
make package: Include template for pkgconfig file.
make package: Include a man/web directory with .url files for
each manual page.
test: Add -portrait to invocations of pstopnm in order to get
proper round trips.
Windows build: fix Ppmtompeg build failure in non-Cygwin build
due to missing sys/utsname.h.
Windows build: fix missing .exe on copies of programs under
their old names.
13.12.26 BJH Release 10.65.00
pamfunc: add -changemaxval.
pgmkernel: add -maxval.
Recognize SIGPWR on systems that have it in messages
about signal received.
pstopnm: More rational default for landscape/portrait choice.
In particular, if the image or page is square, image will always
be in portrait (not rotated).
brushtopbm: check for read errors, extraneous data after apparent
end of image.
pnmtops: Fix spurious blank line in asciihex encoding of the
image raster. Probably harmless. Introduced in 10.56
(September 2011).
pnmtops: Fix crash with 12 bits per sample. Introduced in 10.53
(December 2010). Thanks Akira F Urushibata .
pnmtops: Fix bug: wrong output with -ascii85. Introduced in
10.63 (June 2013).
pnmtops: Fix bug: wrong output with -rle. Introduced in
10.63 (June 2013).
pnmtops: Fix bug: program hangs if it inherits lots of open
files. Introduced in 10.56 (September 2011).
pnmtops: Fix bug: fails with message about waitpid() failing
if invoked with SIGCHLD ignored. Introduced in 10.56
(September 2011).
pbmtoepsi: fix handling of all-white image. Always broken.
Thanks Akira F Urushibata .
pbmtoepsi: fix excessively long raster line. Always broken.
Thanks Akira F Urushibata .
pnmshear: fix incorrect determination of background color.
Always broken.
ppmpat: fix crash with -squig with aspect ratio < 1:25 or
> 25:1. Thanks Akira F Urushibata .
Always broken.
pgmkernel: fix some pixels 1 less than they should be.
pamgauss: Fix typo in message.
Fix wild pointer dereference when memory allocation for a string
fails. Broken since 10.36 (September 2006).
Build for big-endian machines: fix syntax error so it compiles.
Introduced in 10.63 (June 2013).
Fix compile failure on system such as OpenBSD that don't have
SIGWINCH and SIGIO. Broken since 10.49 (December 2009).
Build: Use SSE2 vector instructions when compiling with Clang,
as done already with GCC.
Build: Use interface for SSE intrinsics
instead of GCC-specific versions. Thanks Akira F Urushibata
.
Build on system without vasprintf (not GNU libc): fix compiler
warning.
Apple build: use vasprintf.
13.09.28 BJH Release 10.64.00
pngtopam: fix bug: ignores -gamma. Introduced in 10.48
(September 2009).
libnetpbm, pnmpsnr, ppmcie on systems that don't use GNU C
library: fix bogus printing of floating point numbers.
test: fix ppmhist lack of sorting.
13.06.29 BJH Release 10.63.00
Add pamtowinicon, winicontopam. Thanks Ludolf Holzheid
(lholzheid@bihl-wiedemann.de).
pgmnoise: add -maxval, speed up. Thanks Akira F Urushibata
.
Perl programs: make them shell programs that reinvoke themselves
as perl so we can get the Perl interpreter from the PATH.
yuvtoppm: check for inconsistencies between specified
width and height and size of input.
411toppm: check for inconsistencies between specified
width and height and size of input.
Ignore -plain when program generates PAM. Before, programs
failed if the user specified -plain to a program that generates
a PAM image.
giftopnm: fix bug: erroneously claims GIF ends prematurely.
Broken in Netpbm 10.38 (March 2007). This affects all GIFs, but
the problem does not manifest when Netpbm was built with Gcc
from 2007 and later.
pnmtops: Fix bug: only first image gets converted. Broken in
Netpbm 10.56 (September 2011).
pnmtopng: fix bug: incorrect output when output should have
an alpha mask. Broken in Netpbm 10.55 (June 2011). Thanks
Ludolf Holzheid (lholzheid@bihl-wiedemann.de).
pnmtopng: fix bug: output bigger than it needs to be when the
input is a color format image that contains only gray. Broken
since at least Netpbm 10.26 (May 2001), but after 10.18
(September 2003). Thanks Ludolf Holzheid
(lholzheid@bihl-wiedemann.de).
pnmremap (ergo pnmquant): fix bug: incorrect output with
-norandom and floyd-steinberg dithering. Always broken.
(-norandom was introduced in Netpbm 10.39 (June 2007)).
pamtilt: fix bug: incorrect output or invalid memory access
crash. Always broken (program was new in Netpbm 10.30
(October 2005)).
pnmpsnr: fix bug: says types aren't the same when they are.
Introduced in Netpbm 10.61 (December 2012).
ppmtowinicon: fix bug: sometimes creates image truncated in the
middle of the AND mask. Always broken (program was new in
Netpbm 9.3 (June 2000)).
ppmtoxpm: fix bug: ignores inability to open the specified color
dictionary file (-rgb) and just doesn't use color names.
Introduced in Netpbm 10.15 (April 2003).
libnetpbm: fix bug: ppm_freecolornames() has wild pointer
dereference when the color name table was generated empty
because the color dictionary file was not openable. ppmtoxpm
suffers from this. Broken in 10.15 (April 2003).
libnetpbm: fix bug: pnm_readpaminit and pnm_writepaminit set
'opacity_plane' member of struct pam incorrectly. No Netpbm
programs are affected. Always broken (member was added in
Netpbm 10.56 (September 2011)).
sparc64 pbmtog3: fix bug that causes crash due to unaligned
memory access.
ppmforge. fix crash when -mesh is 1 or less. Always broken
(program was added in Pbmplus (October 1991). Thanks
Akira F Urushibata .
ppmforge: fix array bounds violation. Always broken (program
was added in Pbmplus (October 1991). Thanks Akira F Urushibata
.
install: fix Perl warning in installnetpbm. Broken in
Netpbm 10.61.
build: Use when available.
build: fix problem with creating lib/util that already exists.
Broken in Netpbm 10.62.
13.03.28 BJH Release 10.62.00
pnmtorast: set don't care bytes to zero to make output
repeatable.
rasttopnm: add -dumpheader, dumpcolormap.
pamstereogram: change -guidesize default from 10 to 20
(relevant since Netpbm 10.61).
rasttopnm: fix bug: incorrect output due to used-before-set
variable. Introduced in Netpbm 10.56 (September 2011).
pamstereogram: fix bug: doesn't reject negative guidesize.
Broken since Netpbm 10.61.
pamstereogram: fix bug: garbage in -verbose listing. Broken
since Netpbm 10.61
Windows MinGW build: various fixes.
12.12.30 BJH Release 10.61.00
pgmhist: Add -machine option.
pgmhist: Add -median, -quartile, and -decile options.
pamstereogram: Add -guidetop and -guidebottom options to replace
trick where negative -guidesize means top, positive means
bottom, absent means none.
pamtojpeg2k: default to no compression ratio constraint and
allow compression ratios less than 1. Because of compression
metadata, small images do require loss of quality in order to
get down to a compression ratio of 1.
pamstereogram: -smoothing smooths images even without -texfile.
Thanks Scott Pakin (scott+pbm@pakin.org).
pnmcat: set don't care bits in packed PBM output to zero so
they are predictable.
libpam, pamcomp: fix bug: treats tuple type GRAYSCALE_ALPHA like
GRAYSCALE on 32-bit machine. Actually, looks only at first 4
characters (8 characters on machine with 64 bit addresses) of
the tuple type. Broken since Netpbm 10.56 (September 2011).
pngtopam -alphapam with grayscale input: fix bug: generates
invalid output: tuple type GRAYSCALE_ALPHA, but depth 1. Depth
should be 2. Always broken (pngtopam was created in
Netpbm 10.44 (September 2008)).
pamtotiff: fix bug: XRESOLUTION, YRESOLUTION, and RESOLUTIONUNIT
not allowed in -tags. Broken at least since Netpbm 10.35.
pnmpsnr: fix crash when invoked (invalidly) with only one
argument. Always broken.
leaftoppm: fix incorrect determination of whether input is
Interleaf on 64 bit systems. Always broken.
cmuwmtopbm: fix incorrect determination of whether input is
a CMU window manager bitmap on 64 bit systems. Always broken.
pnmmontage: fix totally wrong output. Broken in Netpbm 10.44
(August 2008).
pnmmontage: fix random stuff placed in unoccupied space in the
output image. Always broken (program was new in Netpbm 9.10
(January 2001).
pbmpscale, pgmhist, pampick, pamtompfont: fix wild pointer in
command line parsing. Bug has always been there in pampick,
pamtompfont, since Netpbm 10.50 (March 2010) in pbmpscale, since
10.44 (September 2008) in pgmhist.
xbmtopbm: fix incorrect output, memory leak. Thanks Akira F
Urushibata .
sunicontopnm: Fix incorrect output for depth 8. Always broken
(depth = 8 capability was added in Netpbm 10.53 (December 2010).
pamgauss: Fix bug: erroneously says -maxval is too big on 64 bit
system. Always broken (Pamgauss was added in Netpbm 10.23 (July
2004).
ppmpat: Fix bug: wrong output with -poles. Broken in Netpbm
10.47 (June 2009).
Add tests. Thanks Akira F Urushibata .
12.09.30 BJH Release 10.60.00
xpmtoppm: major speedup for 3-character-per pixel files,
memory reduction for all files: use hash table instead of
linear search or direct index, go row by row.
xpmtoppm: fix bogus "color number too large" failure. Broken
in Netpbm 10.49 (December 2009).
pnm_hashtuple: slight performance improvement from new hash
function. Thanks Akira F Urushibata .
ppmtospu: wild memory accesses. Always broken (program added in
Netpbm 10.58 (March 2012).
pamtosrf: fix storage corruption. Always broken (program added
in Netpbm 10.55 (June 2011).
Build: change _XOPEN_SOURCE 500 to 600 because on a Mac OSX
Netpbm 10.8 system, this is necessary to get 'strdup' into
.
Build: rename getline() in xpmtoppm.c to avoid collision
with some libc. Always broken.
Build: Don't expect GCC facilities to exist when compiler is
Clang. (Note that Clang identifies itself as GCC).
12.06.28 BJH Release 10.59.00
pamtogif: Make data blocks 255 bytes instead of 254. 255 is
the maximum allowed by GIF. 254 was intended to not trigger
potential bugs in programs that read the file.
ppmdraw: Add 'filledcircle' command class. Thanks
Elijah Griffin .
pamstereogram: Add -planes . Thanks Scott Pakin
(scott+pbm@pakin.org).
pamstereogram: improve verbose output. Thanks Scott Pakin
(scott+pbm@pakin.org).
pamstereogram: fix crash introduced in Netpbm 10.54 (March 2011).
pamstereogram: fix crash introduced in Netpbm 10.53 (December
2010).
Build: fix bug: declines to build pnmtops. Broken in Netpbm
10.58.
Build: move -lm to end of -l's. Broken at least since Netpbm
10.35.
12.03.29 BJH Release 10.58.00
Add ppmtospu, 22 years late.
pngtopam: fix incorrect output when PNG has 16 bits per pixel.
Broken in Netpbm 10.56.
pgmtexture: fix integer overflow in difference variance.
Always broken.
pgmtexture: fix array bounds violations in various calculations.
Always broken.
xpmtoppm: Make it work on XPM with zero characters per pixel.
pm_make_tmpfile_fd: fix improper handling when unable to get
memory to construct file name.
ppmquantall: replace with pnmquantall and change from Bash
to Perl.
Windows/Mingw: fix bug: temporary file creation fails
consistently. Broken in Netpbm 10.34.
Windows/Mingw: set binary mode on files.
Windows: compute program name correctly.
configure: work around Perl bug that causes 'configure' to
falsely conclude Svgalib is installed.
Build: Use rand/srand instead of random/srandom because the
latter are not present in Mingw builds.
Build: fix bug finding X libraries for merge buildl
Build: redo conditional compilation of Windows to use
MSVCRT, based on _WIN32, instead of WIN32.
Build, Windows: various fixes.
Build: use Pkgconfig to find libxml2 if it works (fall back
to xml2-config).
11.12.30 BJH Release 10.57.00
pnmnorm: add -midvalue, -middle .
pngtopam: fix crash with invalid tIME chunk. Always broken.
pamarith: fix wrong result with -multiply. Broken in Netpbm
10.41.
pamscale: fix all black output with resampling. Always broken.
Build: don't use .
11.09.28 BJH Release 10.56.00
Add pamexec. Thanks Michael Pot .
pbmclean: add -extended. Idea from kugland@gmail.com.
rasttopnm: add -index.
pamcomp: Retain opacity information from underlying image.
pnmtops: Add PBM fast path. Thanks Akira F Urushibata
.
libnetpbm and most programs that use color maps: speedup with
new color hash function. Thanks Akira F Urushibata
.
pnmquant: use File::Temp::tempfile() instead of local
approximation if it is available.
pnmquant: work with older Perl that doesn't have 3-argument open.
Thanks Slaven Rezic .
pamscale: Issue error message instead of ignoring extraneous
arguments.
libnetpbm, many programs: fix bug in pm_allocarray(): returns
NULL when can't get memory. Calling programs thus crash on
very large images. Introduced in Netpbm 10.51.
pnmtopng: fix bug: with -alpha specifying a mask which contains
no fully transparent area, output PNG is fully opaque.
Introduced in Netpbm 10.29.
pnmtops: fix message: says "from top edge" where it means
"from bottom edge."
ppmcie: fix bug: fails with "X coordinate out of range" error.
Introduced in Netpbm 10.51.
bmptopnm: Fail properly with BMP that indicates an illegal bits
per pixel.
Build: To find libpng, use the Pkgconfig database entry instead
of libpng-config if it is available.
Build: pnmtops: Instead of omitting pnmtops from the build when
there is no libz, just omit ability to create flate-compressed
output from pnmtops.
11.06.29 BJH Release 10.55.00
Add pamtosrf, srftopam. Thanks Mike Frysinger
(vapier@gentoo.org).
pgmtexture: fix wrong sum variance result. Wrong since the
beginning. Thanks Francois P. S. Luus .
pamrubber: fix crash. Introduced in Netpbm 10.54.
libnetpbm: pm_system(): fix bug - program always takes
Standard Input from invoker's Standard Input when you don't
supply a Standard Output accepter. Introduced in Netpbm 10.40.
ppmtobmp: fix bug: crash ("internal error") or bogus failure or
incorrect output on image without palette (e.g. black and
white). Introduced in Netpbm 10.54.
pnmtops: fix floating point exception or bogus width/height
too large error. Introduced in Netpbm 10.53.
pnmcat: Fix garbage output when multiple input image are from
Standard Input (now it just fails gracefully).
Build: Use 'pkg-config' to find X libraries if possible (This
works with modern Xorg installations).
Build: pnmtopng, pamrgbatopng compile with newer libpng,
as they no longer refer to private members of the pnginfo
structure.
Build: fix undefined "strsol" and "vsnprintfN" failure on
systems without vasprintf(). Introduced in Netpbm 10.53.
Build: fix compiler warning in pbmtocmuwm.
configure: fix selection of mingw compiler. Introduced in
Netpbm 10.48.
11.03.30 BJH Release 10.54.00
Add pamrubber. Thanks Willem van Schaik .
Add ppmtoapplevol. Thanks Matthew Garrett
.
Add pamwipeout. Thanks Willem van Schaik .
pngtopam: add -byrow.
pnmtopclxl: add -embedded.
pgmtoascii: Truncates instead of undefined behavior if input
image is wider than specified width.
Add libpamd (PAM version of classic libppmd drawing routines).
Rename pbmtoicon to pbmtosunicon, to go with change
of icontopbm to sunicontopnm in Netpbm 10.53.
g3topbm: correct error message: codes go up to 13 bits.
pamstereogram: fix crash when not doing texture.
pgmtoascii: Fix numerous output bugs.
pngtopam: fix bug: -verbose reports history chunk present when
it's really a palette.
pnmpsnr: fix bug: says PGM images differ when they don't
and vice versa.
10.12.30 BJH Release 10.53.00
Add pammosaicknit. Thanks Scott Pakin.
pstopnm: Add -textalphabits, default Ghostscript TextAlphaBits
to 4.
pngtopam: include tuple type in output. Thanks
Thomas Henlich .
sunicontopnm: Understands Depth=8. Thanks Akira F Urushibata
.
sunicontopnm: Validate header. Thanks Akira F Urushibata
.
bmptopnm: Don't crash on invalid zero value of image height in
the BMP header of a compressed file. Always broken.
bmptopnm: don't crash on large invalid value of 'colorsused' in
the BMP header. Introduced in Netpbm 9.11.
pm_mallocarray2: fix wild pointers when image is too big to fit
in a single chunk of malloc memory. Affects many Netpbm
programs. Introduced in Netpbm 10.51.00.
ilbmtoppm: Don't crash on image that has a transparent color
index, but no color map.
sunicontopnm: fix for 32 bit items in input. Thanks Akira F
Urushibata .
sunicontopnm: fix arithmetic overflows. Thanks Akira F
Urushibata .
icontopbm: rename to sunicontopnm.
pamstereogram: Add mapped texture stereogram option.
Thanks Scott Pakin.
pamstereogram: slight change to dpi and eye separation defaults.
invert near/far dark/light association. Thanks Scott Pakin.
pnmtops: Fix incorrect output with -flate. Thanks Akira F
Urushibata .
sgitopnm: Fix arithmetic overflow on -channel option. Thanks
Akira F Urushibata .
sgitopnm: Fix crash with -channel on verbatim SGI image. Thanks
Akira F Urushibata .
fitstopnm: Deal properly with NaN in input image.
pm_floatFromBigendFloat, pm_doubleFromBigendFloat, fitstopnm:
fix corrupted output. Broken in Netpbm 10.46.
pamtopdbimg: fix corrupted output image. Thanks Scott Pakin.
pdbimgtopam: fix corrupted output image. Thanks Scott Pakin.
pnmtops: fix arithmetic overflows. Thanks Akira F Urushibata
.
Rename all external symbols that don't have a Netpbm prefix
to start with "pm_": shhopt, nstring, nsleep. Eliminate
createBlackTuple -- pnmCreateBlackTuple already existed.
libnetpbm: Change shared library major number to 11 because
of above renaming.
build: include -lm in build of pamtopdbimg, pdbimgtopam.
configure: Make warnings stand out more.
configure: Fix crash when libpng test compile fails.
10.09.26 BJH Release 10.52.00
Add pamtopdbimg, pdbimgtopam.
Add pamrecolor. Thanks Scott Pakin.
anytopnm: Use 'pngtopam' shell command instead of 'pngtopnm'.
pnmtopng: -libversion doesn't report level of linked libz.
It was a modularity violation and caused build failures on
Mac OS X, because pnmtopng per se doesn't know about libz --
it's used by libpng.
libnetpbm: add pm_readbiglong2, pm_readbiglong2u,
pm_readlittlelong2, pm_readlittlelong2u: These use the proper
32 bit integer types instead of "long". (But the old ones
still work in legacy code because long is always at least 32
bits).
pnmconvol: fix reversed sense of -nooffset. Introduced in
Netpbm 10.49.
ppmtompeg: fix crash with free of unallocated memory.
Broken after Netpbm 10.18, not later than 10.26.
Build: fix parallel make - multiple simultaneous attempts to
build lib/util/importinc.
Build: don't fail due to SIGRTMIN, SIGRTMAX being undefined.
Build: don't expect snprintf() to exist.
Build: don't use or bzero().
Build: fix PNGVER. Thanks Matthew Fischer
.
10.06.27 BJH Release 10.51.00
Add ppmtoascii. Thanks "Frank Ch. Eigler" .
pnmtops: Add -bitsperpixel option.
pamx: Make exit status 0 instead of 10 when window manager
requests termination.
pnmsmooth: Respect -plain. Thanks Akira F Urushibata
.
pnmsmooth: Don't display pnmconvol messages (i.e. run
pnmconvol with -quiet).
pamflip: speedup for PBM. Use SSE2 and skip some idempotent
pixel movement. Thanks Akira F Urushibata .
anytopnm: recognize "PC bitmap" in 'file' response as BMP.
(in addition to existing "PC bitmap data").
libnetpbm, various PBM programs: Use SSE instead of MMX. Thanks
Akira F Urushibata .
pbmtext/libpbmfont: Fix wild pointer; probably asymptomatic.
Introduced in Netpbm 10.39.
pbmtext/libpbmfont: Fix some error messages for bad fonts.
pbmtext/libpbmfont: fix crash with a BDF font with negative
left or bottom border. Introduced in Netpbm 10.39.
pamarith: fix memory leak. Introduced in Netpbm 10.41.
pnm_bytespersample(): fix bogus assertion on 64 bit system.
pnmtops: fix bug: 12 bits per sample output when 8 would do.
Introduced in Netpbm 10.40.
palmtopnm: fix for pixel size 16. Thanks Paul Bolle
.
pnmsmooth: Fail politely when convolution matrix is so
large as to bust the system's program parameter size limit
on the invocation of pnmconvol.
avstopam: fix incorrect output.
pnmsmooth: fix arithmetic overflow with absurdly large
convolution matrix dimensions. Thanks Akira F Urushibata
.
pnmsmooth: fix wild pointer: causes wrong arguments to
'pnmconvol'. Introduced in Netpbm 10.50. Thanks Akira F
Urushibata .
pamscale: fix -reduce. Introduced in Netpbm 10.27 (March 2005).
pampaintspill: fix incorrect output.
libnetpbm text drawing: fix incorrect output in all cases.
Introduced in Netpbm 10.47.
libnetpbm line drawing: fix bogus assertion, introduced in
Netpbm 10.47.
build: fix incorrect determination of when vasprintf() exists
in libc.
configure: don't default to /usr/X11R6/lib/libX11.so just because
/usr/X11R6 exists. /usr/X11R6/lib must exist.
10.03.27 BJH Release 10.50.00
Add pamtoavs, avstopam. Thanks Scott Pakin.
Add pampaintspill.
pnmconvol: Add -normalize .
pm_system(): Close extraneous file descriptors that, among
other things, prevent child from seeing EOF.
libnetpbm: Add PNM_GETR(), PNM_GETG(), PNM_GETB(). Same
as PPM_GETR(), etc.
libnetpbm: Add ppm_luminosity(). Same as PPM_LUMIN, but
returns pixval.
pnmhisteq: Equalize based on luminosity alone, rather than a
strange combination of luminosity and HSV value.
pamenlarge: Make special fast path for scale factors up to 10
(2, 3, and 5 already existed). Thanks Akira F Urushibata
.
pamflip: Speed up for most images. Thanks Akira F Urushibata
.
ybmtopbm: Assume YBM format has raster in natural order
instead of byte-reversed. This is what pbmtoybm creates,
and is most logical. We don't know if there are any existing
YBM images or generators of them other than pbmtoybm.
pbmpscale: speedup.
pbmclean: speedup.
pbmtext: fix crash when BDF font file contains spurious
blank line. Ignore such blank lines.
pbmpscale: fix arithmetic overflow on output image dimensions.
pbmtogem, pbmtoybm, pgmtolispm, ppmtoilbm, pnmtosgi: fix
arithmetic overflow with image dimension represented as
16 bit integer.
pbmpage: fix garbage output.
pnmhistmap: Fix crash with -width. Always broken.
libppmd/ppmpat: fix wild pointer in ppmd_fill_drawprocp();
broken in Netpbm 10.47.
palmtopnm: fix incorrect "PALM_DIRECT_COLOR_FLAG is not valid
for version 3 encoding type" failure. Thanks Paul Bolle
.
pamtosvg: fix bug: occasional crash with out of range error.
Introduced in Netpbm 10.42.
palmtopnm: fix incorrect output with version 3 direct color.
Thanks Paul Bolle .
Build: don't fail due to SIGPWR being undefined.
09.12.30 BJH Release 10.49.00
Add pnmmercator.
pnmconvol: Add -matrix, -matrixfile.
pambayer: add -nointerpolate.
jpeg2ktopam: Work with JP2 input as well as JPC.
pamscale: Work on multi image stream.
ppmrainbow: Make new directory for temporary files.
Prevents interference by other user who shares the main
temporary file directory.
libnetpbm: When reading plain format PNM with PAM routines,
validate pixel against maxval (necessary for integer non-overrun
guarantees).
pnmsmooth: change -dump option to output a new pnmconvol
-matrix option instead of a PGM file (because pnmsmooth now
uses -matrix).
pnmtofiasco: fix bug: doesn't work with Standard Input.
pnmsmooth: fix incorrect call to pm_system_lp() that makes
it never work (but it wouldn't anyway because pm_system_lp()
was broken -- see below).
pm_system*: fix various bugs making it never work.
xpmtoppm: fix wild pointer with color index > 127.
xpmtoppm: fix wild pointer when the input has a color index
value that is too large to be consistent with the number of
colors and bytes per pixel.
pamtouil: fix crash when -name option doesn't contain an
underscore.
pamtosvg: fix some bug with unset Z coordinate.
pnmtofiasco, fiascotopnm: fix bug on bigendian machine.
pngtopam: use png_create_read_struct() instead of
png_create_write_struct(). Broken since Netpbm 10.48.
configure: advise if adding -lz -lm fixes libpng link problem.
makeman: some fixes or enhancements.
09.09.27 BJH Release 10.48.00
ppmsvgalib: Wait to initialize Svgalib to prevent it from
interfering with error messages early code might issue, and
leaving the console in an undesirable state if the failures
cause the program to abort early.
tifftopnm: wait for Pamflip processes to terminate before
exiting.
Remove pngtopnm from the package. Pngtopnm is now an alias
for Pngtopam.
pngtopam, pnmtopng: Compiles with libpng 1.4 beta.
pamtotiff: do miniswhite properly with 8 and 16 bit samples.
pamsumm: fix syntax error message.
pambayer: fix unconditional crash/failure when you aren't using
Standard Input.
Add pbmtocis, cistopbm. Thanks John Elliott
.
Build: tifftopnm builds on systems without fork().
Build: work with JPEG library Version 7.
Build: Configure recognizes libvga.a installed without
libvga.so and offers that as default.
Build: Configure recognizes the Mingw-64 compiler.
Build: fix failure of a merge build on a system that doesn't
have the PNG library.
Build: fix failure to recognize static library in omitting
-R from link.
Build: use AR from config.mk instead of "ar" to build static
libraries: libnetpbm, librle, libjasper.
Build: don't use "uint".
Package: fix installation of pnmplain on Windows (.exe suffix).
09.06.27 BJH Release 10.47.00
Add pamsistoaglyph. Thanks Scott Pakin.
pnmpsnr: Use more precise math to conclude that images are
identical.
Add /usr/share/netpbm/rgb.txt to search path for color
dictionary.
Remove nstring.h from exported interfaces.
giftopnm: improve efficiency.
libppmd: Add ppmd_point-based functions (ppmd_linep(), etc).
pnmremap: fix: -firstisdefault uses an arbitrary color from the
map as default.
pnmremap: fix -missingcolor: where map file (ergo output) is not
depth 3, uses an arbitrary color.
pnmremap: fix loss of dithering when the map (and thus the
output) has lower maxval than the input. (Old code scales down
to the new maxval before dithering).
giftopnm: fix for unlikely case of a block smaller than a code.
ppmpat: fix crash in -squig.
ppmpat: fix crash when width or height is zero.
ppmpat: fix wrong output with -poles.
libppmd (ppmpat, ppmdraw): Fix various out of bounds number
problems.
ilbmtoppm: fix some bug in interpreting ILBM input.
(due to wrong pm_uintFromBigend16()). From Netpbm 10.46.
ximtoppm: fix crash in command line processing.
ppmrainbow: exit with proper exit status upon failure.
ppmfade: eliminate reference to undeclared subroutine.
ppmquantall: don't use 'set' to set Bourne shell variable.
pnmtile: fix reference to arbitrary storage in option
processing. Introduced in Netpbm 10.42.
pamstereogram: fix tuple type in output file (and crash
with -verbose) with -patfile .
pamstereogram: fix uninitialized bytes per sample value.
pbmtomacp: fix buffer overflow.
libnetpbm (ppmd): fix: don't ignore failure to read font file.
Fix: remove inclusion of pm_c_util.h from sshopt.h, which is
an exported interface header file, whereas pm_c_util.h is not.
Lots of changes to integer code, bit access, word access, etc.
None functional. Some speedup.
make distclean: remove lib/compile.h.
configure: use TEMP environment variable for TMPDIR if TMPDIR
is not set. Don't try different temp file names forever; the
problem may not be the filename.
configure: offer Gcc as an optional compiler for HP-UX.
09.03.29 BJH Release 10.46.00
xwdtopnm: Add -cmapdump .
xwdtopnm: Change maxval calculation for truecolor to fit
X11 spec. Now it's determined by bits_per_rgb.
xwdtopnm: Add warning about 2 byte sample output.
pnmcrop: fast path for PBM.
pnmcrop: Use border file instead of original image to determine
the background color (i.e. the color of added margins).
pnmscale: finally make it just an alias of pamscale, which
obsoleted it in Netpbm 10.20.
pnmcut: finally make it just an alias of pamcut, which
obsoleted it in Netpbm 9.20.
tifftopnm: fix orientation problem on big-endian machines.
Introduced in Netpbm 10.42.
pnmcrop: various fixes.
g3topbm: fix array bound violation. Introduced in Netpbm 10.32.
pnmcat: fix array bound violation with PBM top/bottom
concatenation. Introduced in Netpbm 10.44.
ilbmtoppm: Fix array bound violation with compressed ILBM.
Introduced in Netpbm 10.18.
fitstopnm: fix garbage output when input is little endian
floating point FITS.
picttoppm: Fix crash with -fullres and all-text PICT image.
Also issue warning that program omits text with -fullres.
picttoppm: Improve error/informational messages.
picttoppm: Don't fail if 'fontdir' file doesn't exist. Bug
from Netpbm 10.44.
ppmtopict: Use two-byte length field when image width > 200
instead of > 250. Former is what Picttoppm has been assuming
since March 2004, when it was found to work better than 250,
which is the number documented as right.
ilbmtoppm: fix bug: appends color map PPM to output if input
has color map; fails if input doesn't have color map. Broken
in Netpbm 10.18.
leaftoppm: fix bug: uses red channel as all three channels;
(produces grayscale output). Broken between Netpbm 10.19 and
10.26, inclusive.
pbmtomrf, mrftopbm: fix crashes, incorrect output in all cases.
Always broken (mrftopbm was new in Netpbm 10.18 (September
2003).
pnm_alloctupletable, pnm_tuplehashtotable,
pnm_computetuplefreqtable3: fix crash when out of memory,
memory leak with uncomputably large numbers.
build: rename getline() in xvminitoppm.c to avoid collision
with libc.
Source tree: split out some of editor/ directory into new
editor/specialty directory.
08.12.28 BJH Release 10.45.00
pgmnoise: Add -randomseed.
ppmtobmp: Add -mapfile option.
pnm_createBlackTuple(): Fix array bounds violation with
PBM, PGM.
pnmtoddif: Fix crash with any PGM input.
pgmnoise: Fix bug: never generates full white pixel.
pamditherbw: Fix -value other than .5 with -fs, -atkinson.
Configure: fix crash when Libxml2 is installed, but not new
enough version.
Build: Use GNU compile options for Darwin.
Build: Move CFLAGS later in libjasper and librle build so that a
-I in CFLAGS doesn't interfere with finding the local libjasper
and Netpbm header files.
Build: Move LDFLAGS later so that a -L in LDFLAGS doesn't
interfere with finding the built libnetpbm. (The common
link rule is already this way in Netpbm 10.44.00; all the other
link rules are now the same).
Build: Rename Makefile.common, Makefile.config, to common.mk,
etc.
Build: Add source type declarations to make -ansi compile work.
08.09.27 BJH Release 10.44.00
Add pngtopam as a replacement for pngtopnm. Has ability
to generate image with alpha channel. Thanks
David Jones .
pnmcolormap (pnmquant): round instead of truncating when
computing means.
pamcut, pnmcat, pnmpaste, pnmpad, g3topbm: Add fast PBM
path. Thanks Akira F Urushibata .
pnmpaste: fail if user specified stdin for both images.
libppmd/ppmdraw: fix crash when line is completely out of
frame.
pamgradient: fix bug: always produces color, not grayscale.
pnm_backgroundxel(), pnm_backgroundxelrow() (affects
pnmrotate, pnmshear, pnmcrop, pnmcat: correctly average
corner colors to determine background (fill) color.
pamcut: don't crash when cutting a region entirely to
the left or right of the input image, with -pad. Thanks
Akira F Urushibata .
pamcut: don't crash when left > right or top > bottom with
-pad. Thanks Akira F Urushibata .
pgmhist: arbitrary output when total pixels doesn't fit in an
integer.
pamcomp: fix bug: arbitrary output when combined number of rows
doesn't fit in an integer.
pamtosvg: remove "needed exchange" debug trace.
Add pbmminkowski (source code has been in package since Netpbm
10.12 but not documented or built by default).
pnmmontage: don't corrupt file names when they contain
colons.
pamflip: fix bug: garbage output for PBMs, since Netpbm 10.42.
pngtopnm: fix gamma correction.
pngtopnm: fix bug: when background is color, output
should be PPM.
pamperspective: fix bug: array bounds violation crash.
Build: add dependencies so parallel make of top level
"all" works.
08.06.27 BJH Release 10.43.00
Add pamtompfont: Mplayer bitmap font.
pamthreshold: copy transparency information from input to
output.
pnmnorm: adjust bvalue, wvalue when -bpercent and/or -wpercent
would cause an overlap, instead of failing.
pamscale: fix PBM input + -nomix.
anytopnm: fix parsing of type description.
pamtilt: fix crash with excessive angle.
pbmtext: remove meaningless "no output" from error messages.
pbm_loadbdffont(): handle zero size glyph. Affects pbmtext.
pbmtext: fail properly if input contains no text.
pbmtext: fix buffer overrun with tab characters.
pnmnorm: fix -colorvalue, -saturation, -keephues options.
pnmnorm: fix resolution of conflicting -wpercent and -wvalue.
pamtohtmltbl: fix output error: contains holes due to
uninitialized memory.
xvminitoppm: fix. Totally broken since Netpbm 10.34.
pnmtopclxl: fix crash with Standard Input input.
pbmtogo: fix buffer overrun with too wide image.
tgatoppm: fix standard input invocation.
pamtotga: fix free of unallocated memory with no -name option.
pamtouil: fix double free of memory.
ppmd_filledrectangle: fail properly on negative image
height, width.
Add back ppmd_fill_init() for backward compatibility;
removed in Netpbm 10.29.
Build: make it work with Gcc 4.3 and -sse.
08.03.26 BJH Release 10.42.00
anytopnm: Recognize xwd image by 'file' type.
pamflip: Rewrite low-memory algorithm; use temp files and
conserve virtual as well as real memory.
tifftopnm: orient raster properly in row-by-row operation
when TIFF uses nonstandard raster orientation. (ORIENTATION
tag).
pbmtext: fail cleanly if -width, -space, or -lspace is
too large for computation. Thanks Akira F Urushibata
.
pnmmargin: don't crash with zero margin request.
pnmtile: deal with zero width/height.
pbmtext: fix negative -space.
pbmtext: fail cleanly if input line is > 5000 characters.
pamundice: Fix bogus error about missing "-instem" option.
pgmdeshadow: fix crash in option processing.
pgmmedian: fix crash.
pgmbentley: fix output; black areas not black.
pamtosvg: fix various bugs: crash, poor tracing, memory leaks.
pamtosvg: fix log file name with Standard Input.
ppmtoarbtxt: fix array bounds violation with really large
replacement sequence.
ppmtoarbtxt: fix missing right parenthesis with impostor
replacement sequence.
pnmnlfilt: fix internal error "impossible alpha value".
Add pm_tmpfile_fd() and pm_make_tmpfile_fd().
Various things to make it build on Windows without POSIX
emulation.
Build: Include LDFLAGS environment variable in link of
build tools.
07.12.27 BJH Release 10.41.00
pamenlarge: much faster for PBM. Thanks Akira F Urushibata
.
pamenlarge: remove arithmetic overflow.
pnmmontage: new search algorithm to choose square
output quickly. Thanks "Nic Roets" .
bmptopnm: fix crash with 16 bit images.
palmcolor8.map: Make it a 256 color map sorted by index,
per Palm's spec. Thanks Paul Bolle .
xwdtopnm: deal with too-large bits per pixel value in XWD
header.
pamditherbw, pamsharpness, pamsharpmask, pamtopfm:
fix crash due to write to arbitrary memory.
pamtotiff: fix incorrect pixels with PNM maxval != TIFF
maxval.
pnmcrop: fix -verbose message about background color with
-white.
pbmmake: handle ridiculously large height, width arguments.
pnmcat: fix arithmetic overflow.
libnetpbm: Add arithmetic overflow protection to PBM
routines, like PGM/PPM/PNM have had for a long time.
libnetpbm: make all row free operations go through
pm_freerow(); change row buffer type from char * to void *
for pm_allocrow(), pm_freerow().
set _XOPEN_SOURCE=600 so jpeg2ktopam and pamtojpeg2k
compile on AIX (_XOPEN_SOURCE=500 keeps int_fast32_t from
being defined).
pamperspective: Eliminate build-time symbol conflict
with 'nearest' on AIX.
Fix bug: ppmdraw.h, ppmdfont.h not installed.
Add -fPIC to all Gcc compiles of library modules, so it works
on AMD64, IA64.
Add Windows version of gethostname to ppmtompeg; normal build
does not use it.
package, install: install interface header files as
instead of just .
07.09.26 BJH Release 10.40.00
pamfunc: Add -andmask, -ormask, -xormask, -not,
-shiftleft, -shiftright.
pbmtonokia: fail if input is > 255 x 255. Thanks Paul Bolle
.
pnmmargin: add -plain option. Thanks
Akira F Urushibata .
pnmgamma: improve error messages.
pamstack: accept Standard Input properly.
pnmmargin: recognize invalid options better. Thanks
Akira F Urushibata .
anytopnm, pnmmargin, pamstretch-gen, ppmquantall: fix
small temporary file security exposure.
pnmtopalm: fix typo in error message. Thanks Paul Bolle
.
pnmtops: fix crash when program attempts to write 12 bits per
sample Postscript. It doesn't really know how to do that, so
now it just writes 8 unless you do -psfilter.
pnmtopng: Sort palette properly when alpha maxval != 255.
pnmtopng: Fix array bound violation with = 256 colors and -alpha.
pnmtopng: Fix array bound violation with > 256 alpha mask levels.
pamtopfm: Fix wrong selection of default endianness.
libnetpbm: Add pm_system_lp(), pm_system_vp().
libnetpbm: Make pbm_readpbminit() and pgm_readpgminit()
recognize incompatible Netpbm formats and issue a
helpful error message.
libnetpbm: pbm_readppminit: read PBM as maxval of 255, not 1.
libnetpbm: Fix pm_drain() to use the specified limit.
Thanks Paul Bolle .
libnetpbm: Fix multi-line TUPLTYPE interpretation:
separate lines with blank, not newline. Thanks Paul
Bolle .
libnetpbm: Reject empty TUPLTYPE header.
libnetpbm: Fix uninitialized variable in pnm_allocpamrown().
libnetpbm: fix crash in REALLOCARRAY with advanced optimization.
libnetpbm: REALLOCARRAY frees memory if it fails.
Rename pamtooctave to pamtooctaveimg.
Build: don't build pstopnm on system without unix process
management.
Build: put -l's after .o's in test links.
Build: don't use 'uint' type. Solaris 10 apparently doesn't
have it.
Build: Add missing to ppmrough.c.
07.06.26 BJH Release 10.39.00
Add pamtooctave. Thanks Scott Pakin (scott+pbm@pakin.org).
Add pamundice.
fitstopnm: add -omaxval.
pnmremap: add -norand.
pbmtext: improve error messages about fonts.
pamtofits: fix -min, -max.
fitstopnm: fix BITPIX = -32.
PAM_STRUCT_SIZE: cast pointer to ulong instead of uint.
pamthreshold: fix totally bogus threshold selection with
simple thresholding.
Configure: do test compile for missing Libxml2 and too old
Libxml2.
Configure: fix bug detecting presence of libvga with
Ldconfig.
Configure: build properly for Mac OSX when user says
libnetpbm will be in the default search path.
Build: don't use 'uint' type. Mac OSX apparently doesn't
have it.
07.03.30 BJH Release 10.38.00
Add pamfixtrunc.
pamtogif: Add -aspect. Thanks
Akira F Urushibata .
pamditherbw: Add -atkinson.
pammixinterlace: Add -filter and fir and ffmpeg filters.
Thanks Bruce Guenter .
pammixinterlace: Add -adaptive.
Thanks Bruce Guenter .
pambackground: recognize mid-row background.
ppm3d: Change default offset to zero columns.
ppm3d: Add -color option.
ppm3d: Add -offset option as alternative to offset argument.
jpegtopnm: Add -repair option.
giftopnm: Add -repair option.
xwdtopnm: use pm_drain() to catch some format
misinterpretations.
pamtogif: Speed up for monochrome images. Thanks
Akira F Urushibata .
pamtogif: Speed up for small images by using smaller
hash table (so smaller memory footprint). Thanks
Akira F Urushibata .
libnetpbm: add pm_drain().
libnetpbm: shhopt: reject signed number as value for
OPT_UINT option.
libnetpbm: in the "no such option" error message, say what
the valid options are.
libnetpbm: Embellish "bad magic number" error message.
pnmremap: fix incorrect output with map file deeper than
input file.
xwdtopnm: fix right edge padding for 24 bit per pixel,
32 bit per item images.
xwdtopnm: update assumptions about format for direct color
images to match an image we found.
pnmtopclxl: fix -feeder, -outtray options. Thanks
"Eric K. Olson" .
picttoppm: Fix wild memory reference in all use cases.
picttoppm: Fix for multi-pixel-per-byte image in which
it says the image has a row that is too long (because of
padding).
pamtogif: fix crash with -mapfile.
ppmtogif: handle case that map file and input file are not
the same depth, as was the case with the original ppmtogif.
Run the input through pnmremap.
pamtoxvmini: fix bug: produces garbage when maxval is
not 255.
pamtoxvmini: fix crash.
libnetpbm: fix buffer overrun with PBM images < 8 columns.
libnetpbm: fix crash with PBM images < 8 columns on MMX/SSE
machine.
pamtogif: fail properly if image to wide or high for GIF.
ppmdraw: fix crash with use of freed storage. Thanks
John Walker .
libnetpbm: fix crash with PAM read as PNM.
installnetpbm: use 2-argument open() for old Perl.
configure: fix choice of default library suffix.
configure: default to 'none' for Svgalib if it doesn't appear
to be installed.
06.12.31 BJH Release 10.37.00
Add pambackground. But doesn't find mid-row background yet.
pnmcrop, pamtopnm: work on multi-image stream.
Thanks Erik Auerswald .
pnmshear: add -background. Thanks Erik Auerswald
.
ppmtogif: replace with pamtogif. Fix garbage output with
-interlace.
pbmtoxbm: add -name option.
Thanks Akira F Urushibata .
ppmshift, ppmspread, ppmforge, pgmnoise, pgmcrater: better
randomization; won't produce the same image if you run it
twice within the same second.
pbmtoxbm: Use packed PBM functions for efficiency.
Thanks Akira F Urushibata .
xbmtopbm: Use packed PBM functions for efficiency.
Thanks Akira F Urushibata .
cmuwmtopbm, mgrtopbm, pbmtocmuwm, pbmtoicon, pbmtomgr:
Use packed PBM functions for efficiency.
Thanks Akira F Urushibata .
libnetpbm: add pnm_colorname().
libnetpbm: add pnm_computetuplefreqtable3(). Has ability
to limit number of planes of input considered.
libpam: better checking of sufficient size of struct pam
in pnm_writepaminit().
pnm_readpaminit(): abort instead of crash if width == 0.
pnmtopng: fix transparency optimization on PPM input.
pnmrotate: fix -background option with PGM/PBM input.
pamx: fix bug with X depth = 0.
pamx: fix bug: incorrect display of one-plane input image.
libnetpbm: fix bogus results from ppm_parsecolor() of
rgb:0/0/0 style color name.
pbmtoxbm, pbmtox10bm: merge.
Thanks Akira F Urushibata .
pbmtox10bm: Fix generation of name in XBM file.
Thanks Akira F Urushibata .
pbmtextps: Fix buffer overrun -- typical symptom: extra
text generated.
ppmchange: Fix bug with -closeness and not -remainder or
vice versa.
pgmtoppm: Fix garbage output with -map and input maxval
!= map maxval.
pbmtext: Fix crash when there is only one character.
pnmnlfilt: Give proper error message for syntax errors.
ppmtompeg: fix reading of GOPs. Thanks Alun Jones.
Fix pamcomp: due to use of undefined value, sometimes produces
plain format.
Fix pamperspective: read all of input.
Fix libnetpbm pm_system(): don't hang if shell command quits
before taking all the input.
Build: Configure does test links to detect broken
libpng-config --ldflags.
Build: Fix some compile failures with Irix IDO compiler.
Build: fix Darwin (Mac OS X) build.
Configure: fix default for X library location.
Build: remove unnecessary limit of 200 characters on
argument length in Libopt.
Build: fix build with separate build directory.
Build: fix merge build with no X11 library.
06.09.21 BJH Release 10.36.00
pbmtonokia: Add plain NPM output capability. Thanks Paul Bolle
.
pbmtonokia: Pad to 8 bytes. Thanks Paul Bolle
.
pbmtonokia: Limit text to 120 bytes. Thanks Paul Bolle
.
pamthreshold: don't gather global information, and reread
file, for local thresholding (to save time, resources).
Thanks Erik Auerswald .
libnetpbm: BK color matching adjustments, change of
enum bk_color. Thanks "Kenan Kalajdzic"
.
Fix version number control.
pbmtonokia: fix headers of NGG and NOL to include 3 character
magic.
Release allocated memory before longjmping from libnetpbm.
Eliminate pm_perror() in favor of informative error messages.
libnetpbm: fix rgb:r/g/b color name parsing for invalid
syntax.
Add pm_errormsg(), pm_setusererrormsg(), pm_setusermessage().
pm_accept_to_pamtuples: fix bug: fill in pam structure.
Thanks "Christian Schlotter" .
Fix selection of MMX_SSE fastpath based on GNU compiler version
number.
Properly clean thinkjettopbm.c with 'make distclean'.
Remove some generated files from release so build works.
Remove general history from change file
06.08.19 BJH Release 10.35.00
Add pgmdeshadow.
giftopnm: add -quitearly.
pamfile: add -comments.
ppmdraw: remove limitation on size of script.
pnm_readpaminit(), pnm_writepaminit(): Add comment control.
ppmtogif: do one row at a time.
Pnmtopng: improve validation of -modtime option.
Look in /usr/share/X11 instead of /usr/openwin/lib for
rgb.txt.
ppmtompeg: die properly when frame is less than 16x16.
ppmdraw: fix bug with semicolon in script not followed by
white space.
libppmd (ppmdraw, ppmlabel): don't crash with horizontal
or vertical line that is entirely out of frame.
picttoppm: Fix 32 bit per pixel conversion, broken in 10.34.
pamthreshold: fix read from pipe.
Fix typo in make file that makes svgtopam get built
when Libxml2 is not available.
pnm_computetuplefreqhash(), pnm_computetuplefreqtable2():
Don't crash on error without pm_setjmp().
Change memmem() to memmem_internal() in cameratopam/identify.c
to avoid collision with system library.
Use __MINGW32__ to determine HAVE_MKSTEMP (instead of manual).
Eliminate use of network functions for endianness computations.
Use "inttypes_netpbm.h" on a system that doesn't have
the int_fast32_t, etc. types. Like Solaris 8.
configure, installnetpbm: autoflush stdout.
Build: Use libpng-config if it exists.
Build: assume no Lex program if neither 'flex' or 'lex' shell
command verb exists.
Remove test source file ppmdtexttest. Ppmdraw should be
sufficient now.
06.06.18 BJH Release 10.34
Add pamthreshold. Thanks Erik Auerswald
.
Add pamx.
Add pamtoxvmini.
pammasksharpen: Add -threshold.
pnmtopng: make "N colors found" message verbose-only.
pnmtopng: make "no room in palette" message non-verbose.
picttoppm: Tolerate various PICT file corruptions.
picttoppm: Don't issue warning message when file named
'fontdir' doesn't exist.
libnetpbm: Add ppm_bk_color_from_color(),
ppm_bk_color_from_name(), ppm_name_from_bk_color().
Thanks "Kenan Kalajdzic" .
libnetpbm: Add ppmd_fill_path().
ppmtobmp: Fix for PBM input.
bmptopnm: Don't crash on BMP with no color map.
bmptopnm: Fix wrong file name in error messages.
ppmtogif: fix bug: always produces garbage output.
ppmtompeg: fix input from Standard Input.
pnmflip: fix bug: -rotate90, -rotate180, and -rotate270
(and synonyms) don't work when followed by other rotation
options.
ppmtoilbm: Fig bug: generates more planes than necessary.
pamtofits: fix buffer overflow in asembling header.
picttoppm: fix bug - interprets some images wrong because of
bogus "rowBytes" value.
libnetpbm: add ppm_fastlumin(). Change ppmtopgm, ppmtoilbm,
and ppm3d to use this, which results in higher quality output,
because ppm_fastlumin() rounds to nearest, whereas these
programs rounded down. Otherwise, it's the same calculation.
Redo asprintfN(), etc. so as not to use va_list in a way
that doesn't work on some machines.
cameratopam: remove definition of memmem() so it doesn't collide
with same in some C libraries. Add memmemN() and MEMEQ to
libnetpbm.
Fix build of filename.o.
Build: Use local version of mkstemp() based on mktemp() when
mkstemp() isn't available. No automatic determination that
mkstemp() isn't available yet.
Build: Include dummy pm_system() on a system that doesn't
have regular Unix process management.
Add -Wundef to Gcc compile options.
06.03.26 BJH Release 10.33
Add pamtosvg.
g3topbm: Add -width, -paper_size.
libnetpbm / most newer programs: Fix bug that produces
plain format output when it should be raw because
pnm_readpaminit() does not set 'plainformat' and most
programs just copy the input pam to the output pam.
pamflip: fix bug with left/right flip of PBM that has
width an even multiple of 8 plus something less than 8.
pnmquant: turn on autoflush when creating seekable file.
install: fix symbolic link pnmdepth -> pamdepth.
build: fix some importinc dependencies.
06.02.25 BJH Release 10.32
Add rlatopam. Thanks Simon Walton .
Add pgmmake.
bmptopnm: Understands RLE4/RLE8 compressed BMP. Thanks
Akira F Urushibata .
pnmgamma: Add -bt709tosrgb -srgbtobt709, -bt709tolinear,
-lineartobt709, -gamma, -rgamma, -ggamma, -bgamma (gammma
values were formerly specified as parameters).
pnmgamma: Rename -cieramp to -bt709ramp.
pnmnorm: add -maxexpand option.
ppmdraw: work on multi-image streams.
anytopnm: add mime time image/x-ms-bmp for BMP
pamchannel: works on multi-image streams.
pamstack: works on multi-image streams.
Convert pnmdepth to pamdepth. Add multi-image stream
capability.
pamcut: works on multi-image streams.
pnmtops: allow -flate and -rle together.
pnmtops: overhaul of -psfilter output.
Thanks Chapman Flack .
pnmrotate: fine adjustment to arithmetic (rounding,
pixel quantization).
pbmtopsg3: Put currentfile ... in exec block. Thanks
Chapman Flack
pbmtopsg3: Add missing /EndOfBlock . Thanks
Chapman Flack
pnmtops: Don't claim EPSF if using setpagedevice.
Thanks Chapman Flack
giftopnm: do "reading image sequence N" message only if
being verbose.
ppmtobmp, bmptopnm: major speed improvement for PBM. Thanks
Akira F Urushibata .
pbmtog3: Use new GCC features instead of assembly language
for superspeed operations. Thanks
Akira F Urushibata .
pm_make_tmpfile(): Use TEMP and TMP environment variables if
TMPDIR not set.
pm_make_tempfile(): improve error message.
libpam: pnm_writepamrowmult() respects pam.plainformat.
libpam: pnm_writepaminit() checks -plain option for PAM format
(recognizes the error).
ppmtoglobe: Fix wild pointer bug.
Fix wild pointer in REALLOCARRAY(). Affects ppmdraw,
escp2topbm, ppmtowinicon, ppmtompeg, pnmtopalm,
pnmtopng. Thanks Steve Summit .
pnmtopng: fix bug with undefined cmdline.modtimeSpec.
Thanks Mike Frysinger .
pnmquant: Use Perl sysseek() instead of seek() to avoid
a mispositioned file disaster on some platforms.
pamditherbw, pgmtopbm: fix bug: overly dark with cluster
methods because only 1/4 of the dither matrix is used.
Thanks Mark Williams .
pnmrotate: fix bug: garbage in lower right corner of background
with -noantialias.
pnmsmooth: change to regular Netpbm syntax. Replace -size
with -width and -height.
pnmsmooth: fix bug: free of temp file name even when there
is no temp file (-dump option).
pnm_scaletuplerow() fix bug: does nothing when old maxval ==
new maxval. Affects pamedge only.
ppmtompeg: Fix array/pointer degeneration mess with LumBlock
arguments; fix crash.
pamstereogram: Fix crippling bugs. Thanks Scott Pakin
.
giftopnm: Handle case of a clear code at the end of a block.
ppmtogif: Fix bug with interlaced GIF < 5 rows.
cameratopam: Fix segmentation fault from undefined 'ifp'.
Thanks Bernard Hatt .
xwdtopnm: Fix bug from 10.31: LSB-first XWDs convert to all
black.
ppmglobe: fix bug: always says stripcount is zero
because it looks at the wrong argument. Thanks Urs Enke
.
pnmtotiffcmyk: Fix inttypes conflict on AIX.
Stop exporting stripeq().
Add -lm to link of libnetpbm shared library, to express the
fact that code in libnetpbm requires it. Helps GNU Ld
--as-needed.
Build: move symbolic links to header files into
'importinc' directories to keep directories cleaner. Fully
populate 'importinc' in every directory so we don't have
to maintain a list of header files for each.
05.12.23 BJH Release 10.31
Add pamgradient.
libnetpbm/everything: speed up ppm_readppmrow() and
pgm_readpgmrow() by doing one fread per row instead of a
pgm_readrawsample() per sample. Thanks "Ariel Berkman"
.
libnetpbm: Make PGM, PPM, and PNM routines read suitable
PAM images.
pnmsplit: upgrade to pamsplit.
xwdtopnm: Add ability to work with bits per pixel >
bits per item. Replace whole pixel reader.
pamtotiff: Use TIFFDefaultStripSize() for ROWSPERSTRIP default.
pamtotiff: add -tag option. Thanks Gary Gorbet
.
ppmglobe: add -background, -closeok, filename argument.
pnmcolormap: Work on multi-image stream (one map for all).
pnmtopclxl: read/convert/write one row at a time.
Thanks Martin Buck .
ppmtolj: read/convert/write one row at a time.
Thanks Martin Buck .
ppmtoxpm: fix bug: produced incorrect output when number
of colors is a power of 92. Thanks Mark Weyer.
pnmcolormap: fix bug: crashes with input depth > 3.
pambayer: fix bug: doesn't actually read input file.
ppmtompeg build: add missing const to work around TRU64
compile failure.
xwdtopnm: Fix handling of padding at end of XWD row.
pamtotiff: fix bug with PAMs with > 3 planes.
Remove PPM_PACKCOLORS.
pnmremap: fix arithmetic overflow bug with maxval > 255 that
caused random pixels.
remove global "cmdline" variables from all programs (4 had them).
pnmtops: remove extra %%%%Page from 10.27.
mkinstalldirs: remove chmod 755 to match Automake's
mkinstalldirs.
libopt: add -quiet option
ppmtojpeg: fix prototype mismatch when building without
the JPEG function.
libnetpbm: fix: PPM_DISTANCE uses red twice instead of and green.
pnmnlfilt: fix alpha ranges.
cameratopam: replace setenv with putenv so it works on Solaris.
cameratopam: put in workaround for Solaris header file bug.
pngtopnm: fix bug: grayscale PNG produces PPM. s/b PGM.
anytopnm: Use sed instead of Awk -- more universal.
anytopnm: fix "INTERNAL ERROR" crash due to "filetype" variable
not set.
rletopnm: fix crash when input file is empty or
there are various other problems reading its header.
rletopnm: fix universal crash in option parser.
tifftopnm: fix crash due to uninitialized variable.
libnetpbm: Fix bug from 10.30: erroneously says a PAM header
line is missing.
05.10.16 BJH Release 10.30
Add pambayer.
Add pamrgbatopng.
Add pamtilt. Thanks Gregg Townsend .
pamtotiff: create from pnmtotiff.
pamtofits: create from pnmtofits.
pamaddnoise: create from pnmaddnoise.
pamarith: Add -divide.
pammasksharpen: Add -sharpness.
pnmtopng: add -comp_mem_level, -comp_strategy, -comp_method,
-comp_window_bits, -comp_buffer_size.
pnmtopng: use Shhopt command line processor; replace
-chroma with -rgb, -phys with -size, -time with -modtime.
pnmremap: Handle multiple image stream.
xpmtoppm: Expand capacity from 2K character input lines to
8K character input lines.
libnetpbm: improved messages for "color xxx cannot be
represented precisely with maxval M"
libnetpbm color specification parsing: Improve warning message
about rounding.
libnetpbm/everything: speed up ppm_writeppmrow() and
pgm_writepgmrow() by doing one fwrite per row instead of
a pgm_writerawsample() per sample.
pnmtopng: fix "meaningful bits" optimization of PGM so it
optimizes all the way instead of stopping at 4 bits.
pnmtopng: fix crash when no -alpha option, due to dereferencing
of undefined alpha_mask.
pnmtopng: fix bug: arbitrary color made transparent in
paletted PNG when nothing should be transparent.
pnmtops: bug: selects wrong Postscript level.
ppmtowinicon: use REALLOCARRAY instead of arithmetic-overflowing
realloc().
anytopnm: fix bug: fails when 'file' database doesn't
have mime type but does have human-readable type.
manweb: recognize directory as not executable in search of PATH.
pgm_allocrow(), ppm_allocrow(), pnm_allocrow(): cure
arithmetic overflow.
libnetpbm: On plain formats, check for sample value exceeding
maxval.
libnetpbm: reject maxval > 65535 in "pam" functions.
pamarith: Use normalized libnetpbm facilities to get
proper accuracy. Thanks Thomas Henlich
.
pamarith: fix bug: shift functions don't work when maxvals
are not identical.
pamarith: fix rounding error on multiply.
pgmtexture: correct calculation of normalizing constants
for d > 1. Thanks Marc Breithecker
.
pnmnorm: fix divide by zero crash.
pnmnorm: fix bug that doesn't let you specify
-luminosity, -colorvalue, or -saturation.
ilbmtoppm: fix variable used before set.
pnmtofits: fix 16 bit sample values > 2**15.
pnmtopsnr: minor adjustments to messages.
pnmnorm: don't crash when wvalue == bvalue. Thanks Thomas
Henlich .
pnmnorm: fix rounding of output values. Thanks Thomas
Henlich .
pnmhisteq: Fix external map to have width maxval + 1 instead
of maxval, so full intensity input pixels map properly.
pnmhisteq: Fix -rmap.
Fix typos in error messages in various programs.
pgmmedian: change syntax to Netpbm standard.
pammasksharpen: fix signedness bug that caused random bright
pixels at edges.
pammasksharpen: fix bug with maxval != 255.
Clean up a bunch of function prototypes so some broken
compilers don't complain about missing "const" in them.
Remove dependency of pnmtops on basename(). It isn't in
some C libraries and we don't want to mess with linking
extra libraries.
Build of ppmsvgalib: work properly when LINUXSVGALIB is
a "default path" value such as "libvga.so".
05.08.15 BJH Release 10.29
Add ppmdraw.
Add pammixinterlace. Thanks Bruce Guenter .
Add pgmmedian.
Add pnmaddnoise.
pnmtopclxl: add -rendergray option.
pnmtopclxl: add -jobsetup option.
pstopnm: add -dSAFER Ghostscript option.
pnmcrop: add -margin option.
pnmcrop: add -borderfile option.
pnmnorm: add -luminosity (which was already default),
-colorvalue, and -saturation.
pnmtopng: Don't include any alpha info if supplied alpha mask
is all opaque.
ppmcie: Make white point mark more visible.
pamdice: Remove restriction of 100 slices in each direction.
pnmtopng: Fix bug: erroneous transparent pixels when supplied
alpha mask is all opaque.
Fix bytesToWordInt(): converts incorrectly on a machine that
has pointer size != word size and uses the general case code.
libnetpbm: fix basic pm_readlittleshort() bug introduced
in 10.27 (March 2005). Affects mdatopbm, rawtopgm, lispmtopgm,
pcxtoppm, winicontoppm, bmptopnm, sirtopnm, xwdtopnm,
cameratopam.
pamlookup: fix universal crash. Thanks "Colley, Anthony
W."
pbmtolj: fix bug from 10.28: crashes with a line which is
a multiple of 8 plus 7 pixels wide not counting white right
margin.
ppmtompeg: fix uname() rc test (sometimes > 0 is success).
05.06.06 BJH Release 10.28
Add cameratopam (Dave Coffin's dcraw).
ppmtoxpm: ignore empty or similar malformed XPM line instead
of giving up.
pbmtolj: do multi-image stream.
pnmindex: rewrite in C.
Fix Gcc 3 warnings.
pamcomp: fix out of memory problem due to uninitialized
pam.allocation_depth.
anytopnm: remove apparently redundant traps of signals.
pnm_alloctupletable(): fix bug from 10.27: returns random value.
(affects pnmcolormap, pnmremap, pnmquant, others).
jpeg2ktopam: fix array bounds violation on 64 bit machines.
Thanks Frederic Devernay .
rle_open: remove extraneous errno declaration. Thanks
Joerg Sonnenberger .
pm_tmpfile, pm_make_tmpfile: rearrange code.
ppmtompeg: fix insecure temp file. Thanks Alexey
Tourbin .
libnetpbm: fix basic readlittlelong() bug introduced in 10.27
(March 2005). Affects xwdtopnm, bmptopnm, winicontoppm,
lispmtopgm.
pbmtext/libnetpbm: fix crash with -builtin=fixed.
pbmtoppa: fix floating point exception always due to
undefined DPI.
fix jpeg2000 build failure on system without inttypes.h,
etc. Build now excludes jpeg2000 if you don't have 64
bit capability, which practically means you have
inttypes.h, etc.
jpeg2000: don't do unsafe temporary files.
ppmshadow: make it work with old Perl.
pnmquant: remove use of Fcntl::seek, not available in
Perl 5.00503.
pnmquant: make -quiet option work.
pnmgamma: Correct math in -srgbramp. Add proper rounding.
Thanks Horst J. Wobig (hjw.fsw@wobig.de).
ppmshadow: fix blurring of non-translucent shadow.
ppmtoxpm: fix use of uninitialized variable that results
in invalid color map.
Fix backward pnmtopnm - pamtopnm symlink.
05.03.28 BJH Release 10.27
tifftopnm: do multi-image streams.
pnmtotiff: add -append option.
pnmtotiff: do multi-image streams.
pnmtopclxl: fix bug with invalid palette in
SetColorSpace command.
pnmtopng: don't accept -background without -mix.
Eliminate pnmtopnm program -- install 'pnmtopnm' as an
alternate name for 'pamtopnm' instead.
pamscale: refilter as part of resampling for better
quality downsampling.
ppmcolormask: fix segfault with stdin input.
Add pm_setjmpbuf().
pnmindex, ppmquantall: use pnmquant instead of ppmquant.
pnmquant: add -quiet, -plain options
ppmfade, pnmshadow, pnmindex, pamlookup: Use pamscale
instead of pnmscale.
ppmtoxpm: Don't include superfluous entries for colors
of transparent pixels, or for transparency when there are
all colors are opaque, in the XPM color map.
pnmquant: remove dependency on File::Temp, not available
before Perl 5.6.1.
pamfunc: use multiplication instead of division for -divisor,
for speed.
pamfunc: fix bug in -adder and -subtractor with signed
arithmetic. Thanks David Jones .
pamscale: fix bug in converting negative floats to integers.
Thanks David Jones .
pamscale: fix bug with -filter: scanbuf too small, thus
some output rows/columns can never be created and output raster
is invalid.
build: fix build errors in ppmtompeg with OMIT_NETWORK.
jpeg2ktopam: fix uninitialized memory problem in allocating
jasperCmptNo.
pbmclean: fix -minneighbors so it isn't really -minneighbor.
pnmremap: allow RGB map and BLACKANDWHITE/GRAYSCALE input.
pamstereogram: fix bug with -eyesep (float/double).
pamtojpeg2k: fix bug with -compression (float/double).
pamtojpeg2k/jpeg2ktopam: work on 64 bit machine; fix
definition of int32fast_t, etc. in libjasper.
libnetpbm: Respect plainness of specified format when writing.
pnmremap: fix handling of arithmetic overflow in color
distance calculation.
pnmremap: fix bug with palette of different depth from image.
libnetpbm: fix 2 byte per pixel pnm_pamwriterow(),
pnm_formatpamrow().
pbmmake: fix bug: requires color option. (Introduced ca.
10.23).
-plain works with PAM write functions.
common -plain option causes failure instead of wrong output
when used with PAM output.
pnmremap: fix rounding error where map maxval is small and
unequal to image maxval.
Add pnm_normalizeRow(), pnm_unnormalizeRow(),
pnm_creategammatransform(), pnm_createungammatransform(),
pnm_freegammatransform(), pnm_freeungammatransform().
Idea and prototype from "Scott T. Smith" .
pamscale: Use pnm_noramlizeRow() to speed up gamma adjustments.
palmtopnm: Don't assume Palm Bitmap is valid.
Thanks Paul Bolle .
giftopnm: fix crash with input that has bogus color indices
in the raster.
giftopnm: fix crash with input that has a bogus minimum code
length field. Thanks deekoo@tentacle.net (Deekoo L.).
pnm_readpamrown(): use pnm_readpamrow() instead of
pm_getraw() for speed. Similar for pnm_writepamrown().
pnm_readpamrown(): use multiplication instead of division
for speed. Thanks "Scott T. Smith" .
pm_readbiglong(), etc.: pm_error() in case of failure.
Add pm_readchar(), pm_writechar(), pm_readcharu(),
pm_writecharu().
pnmtopalm: Add packbits compression.
pnmtopalm: Add version 3 capability (-density, -withdummy).
pnmtopalm: fix bug: incorrect between-image pad amount.
pnmtopalm: fix compressed images. use 0 compressed size
field - not totally correct, but passable.
palmtopnm: fix incorrect handling of some combinations of
PALM_IS_COMPRESSED flag and compression type field.
Thanks Paul Bolle .
palmtopnm: fix totally broken RLE and scanline compression.
Thanks Paul Bolle .
palmtopnm: handle PackBits compression. Thanks Paul
Bolle .
palmtopnm: handle Version 3 encoding. Thanks Paul Bolle
.
Make makeman put in missing newline. Thanks Eric S. Raymond
.
Include libz in build of programs that use TIFF library.
palmtopnm: fix wrong check for disallowed combination of
-transparent and -rendition.
pnmtops: Add -psfilter, -flate, -ascii85, -level options.
pnmtops: Add -dict, -vmreclaim options.
pnmtops: improve %%Title
pamcomp: fix bug that duplicates last row of overlay image.
Thanks achurch@achurch.org (Andrew Church).
pamcut: fix bug that fills the rightmost column with black.
Thanks achurch@achurch.org (Andrew Church).
pnmtops: Add -noshowpage option.
pnmtops: Add %%%%Page. (whoops, this actually added a second
%%%%Page. Removed in 10.31).
pnmtopalm: fix bug with -offset option.
xwdtopnm: recognize TrueColor visual class in header dump.
ppmforge: fix bug: crash due to wild pointer with -night.
Thanks John Walker .
libnetpbm: add pm_make_tmpfile().
05.01.01 BJH Release 10.26
pnmhistmap: Add -dots, -nmax, -red, -green, -blue, -lval,
-rval, -height, and -width options.
Thanks "John H. DuBois III" .
pnmnorm: accept -wpercent and -wvalue (or -bpercent and -bvalue)
together. Thanks Gregg Townsend .
xwdtopnm: Add -headerdump option.
pnmtoxwd: Include 256 color color maps in direct color instead
of zero. Zero has a weird effect.
pamtotga: recognize RGB_ALPHA instead of RGBA.
palmtopnm: fix bug in determination of compression type.
palmtopnm: fix bug in handling of multi-image streams.
Thanks Paul Bolle .
pnmtopalm: fix bugs in computation of nextDepthOffset.
Thanks Paul Bolle .
pamtotga: fix TGA pixel size for TGA with alpha. Don't do
colormap if input has transparency.
pamtotga: fix crash due to uninitialized "id" field in TGA
header.
pbm_writepbmrow(): Fix bug in MMX/SSE code that causes
segmentation fault.
pnmhistmap: Fix bug: doesn't work with maxval != 255.
Thanks "John H. DuBois III" .
pbmtext: fix crash with code point > 127.
ppmtompeg: major cleanup.
pnmtopng: fix "internal error" and crash bug with -transparent.
pnmtoxwd: fix endianness on littleendian machines.
pnmtoxwd: fix bug: doesn't work if you specify an option.
jpegtopnm: fix bug: -dumpexif all wrong.
jpegtopnm: fix bug: newline written to stdout instead of stderr
with -dumpexif.
Add missing 'col' declaration so -msse compile works.
pcdovtoppm: fix syntax error
pnmtojbig/jbigtopnm: add newline to "usage" message.
pamperspective: fix bugs with -frame_include, etc.
build: Jpeg2k programs build properly with newer Jasper library.
build: Fix bug: "no rule to build xxx.so" with external
Jasper or Jbig library.
Add NAME and DESCRIPTION section to pointer man pages.
04.10.16 BJH Release 10.25
Add pcxstd.ppm.
Add pbmtoibm23xx. Thanks Jo Fahlke .
Add pamedge, replacement for pnmedge.
pamperspective: add -frame_include, -*margin, -include.
pamcomp: Handle RGB_ALPHA and GRAYSCALE_ALPHA images,
using the opacity plane.
pamscale: do transparency pixel mixing properly.
ppmtompeg: cleanups and additional verbosity.
anytopnm: Use 'nawk' instead of 'awk' where available.
anytopnm: Don't use -e. (not available everywhere).
tifftopnm: Add warning when Whole Image method reduces
resolution to 8 bit.
pamtopnm: accept extra planes (ignore them).
pamcut: major speedup. Thanks Akira F Urushibata
libnetpbm: Add pnm_getopacity().
libnetpbm: Add pnm_applyopacityrown(), pnm_unapplyopacityrown().
libnetpbm: "pam" read and write routines much more
efficient. Thanks Akira F Urushibata
Add pnm_formatpamrow(), pnm_allocrowimage(),
pnm_freerowimage(). Thanks Thanks Akira F Urushibata
pnm_readpamrow(): Add option to have "tuplerow" argument
NULL and not get the row's contents. Thanks Thanks
Akira F Urushibata
Add pnm_writepamrowmult(). Thanks Thanks Akira F Urushibata
.
libnetpbm: format plain format images more nicely.
Thanks Thanks Akira F Urushibata
pamcut: fix bug: Blows up instead of failing cleanly
when you try to cut beyond the bounds of the image.
Thanks Thanks Akira F Urushibata
fix bug: MMX/SSE fast PBM writing (with gcc -msse) all wrong.
pamscale; fix bug: -linear option sense reversed.
pamscale: fix bug: everything too dark when using resampling
to enlarge.
Speed up pbm_writepbmrow() (and all PBM output programs)
by going a byte at a time. Thanks Akira F Urushibata
.
pamperspective: fix bug that can cause memory corruption
and crashes. Thanks Mark Weyer
.
ppmtompeg: put in proper marshalling/unmarshalling so as not
to depend on a 32 bit integer type.
ppmtopcx: add -palette option.
pnmconvol: fix bug: green and blue convolution matrices
exchanged, gray exchanged with random.
ppmtowinicon: fix bug: crashes on 32 bit images.
Use or where possible, dynamically
built "inttypes.h" where not. Eliminate uint32n.
Handle BITS_PER_WORD=64 in wordaccess.h so it builds on
64 bit platforms.
04.08.11 BJH Release 10.24
g3topbm: Add -stop_error.
Add makeman to build tools. Thanks Eric S. Raymond
.
pamflip: Large speed, memory improvements for
non-diagonal flips. Thanks Akira F Urushibata
.
jbigtopnm, pnmtojbig: Use packed PBM functions to speed up
greatly. Thanks Akira F Urushibata .
g3topbm: Don't fail on premature EOF; produce partial
output instead.
add pnm_maketuplergb(), pnm_makerowrgb(), pnm_makearrayrgb().
Fix a bunch of programs that, starting with 10.23, have too
large a "len" field in the pam structure, causing storage
overwrites.
pbmtext: fix free of unallocated storage bug with stdin
input text.
pnm_writepaminit(): deal correctly with pam structure that
doesn't contain tuple_type member.
Fix pamP->allocation_depth == 0.
pamstretch-gen: use pamscale instead of pnmscale.
Generate pm_config.h at make time. Determine endianness
and word size stuff dynamically. Use uint32n instead of
uint32_t in infotopam.c.
fitstopnm: fix MIN/MAX transposition in maxval bounding.
Fix bug: "wordn" in place of "wordint" in wordaccess.h.
Fix bug: -plain option on "pam" programs generated plain
header, but raw raster.
04.07.17 BJH Release 10.23
Add pamgauss.
Add pammasksharpen.
Replace pnmtoplainpnm with pnmtopnm.
pnmconvol: Add -nooffset.
pamdice: add -hoverlap, -voverlap. Thanks Geoff
Kuenning .
pbmtoepson: Add -dpi, -adjacent, -noadjacent, and -protocol
options.
pstopnm: recognize Encapsulated Postscript by presence of
"EPSF-" in the header instead of a whole specific header line.
Thanks Philip Hallstrom .
pnmpad: Allow -left/-right along with -width,
-bottom/-top along with -height. Thanks David Jones
.
pnmpad: round to nearest instead of lowest in interpretation
of -halign, -valign.
pnmsplit: Add -padname option.
pnmenlarge: work on multi-image streams.
libnetpbm: add allocation_depth to PAM structure. Add
maketuplergb(), makerowrgb(), makearrayrgb().
pnminvert: much faster for PBMs. Thanks
Akira F Urushibata .
pbmmake: use packed bits to speed up. Thanks
Akira F Urushibata .
pbmtog3: speedups. Thanks Akira F Urushibata
.
Fix gamma value (from .45 to 2.2) in pm_gamma709(),
pm_ungamma709().
pgmramp: Fix signedness bug with -rectangle, -ellipse.
pnmtojpeg: fix bug with large exif files. (negative malloc)
pnmtopng: Fix estimation of whether it's better to use a
colormap or not.
Add pamditherbw, replacement for pgmtopbm.
pamperspective: Fix bug. Incorrect output. Thanks
.
ppmtompeg: fix crash with input that is not a multiple of
16 pixels high and wide.
pamtotga: fix crash due to freeing nonexistent color table.
pamtotga: fix bug: invalid TGA when you use -rgb with a
non-color input.
pgmtopbm: fix calculations that divide by maxval+1; should
divide by maxval. Thanks David Jones .
04.05.01 BJH Release 10.22
Add pamperspective. Thanks Mark Weyer
.
Add pamstereogram. Thanks Scott Pakin .
Add pc1toppm. Thanks Roine Gustafsson
.
Add pbmtodjvurle. Thanks Scott Pakin .
Add infotopam. Thanks Rich Griswold .
Add pamtopfm, pfmtopam.
ppmtowinicon: Add -truetransparent.
ppmtowinicon: remove old, wrong, undocumented -andppm synonym
of -andpgm.
ppmtopcx: Add -stdpalette option.
pamsumm: Add -brief, -normalize.
All programs that interpret color specifiers (ppmchange, etc.):
warn if the specified color can't be represented, to the
precision specified, in the operative maxval.
ppmchange: fail if the specified color can't be represented in
the maxval of the input image.
pcxtoppm: Imply standard palette when palette in PCX header is
all black. This function apparently got lost some time since
it was added in 1994.
pcxtoppm: Add the color palette to -verbose output.
ppmtopcx: Fix bug: wrong 256 color PCX output. From
10.21. Thanks Timothy Borgeaud
.
Convert ppmtodjvurle into pamtodjvurle.
pngtopnm: Dump additional info about PNG with -verbose.
pngtopnm: Use Netpbm command line parser.
pbm_readpbmrowpacked(): Fix bug: ORs bits into return value
instead of setting them. Affects pbmtoescp2.
ppmtopcx: Fix bug: don't add black to a palette if it's not
already there.
pnm_tuplehashtotable(): fix allocsize (maxsize) = 0 case.
pamflip: fix bug with random memory accesses due to
signed/unsigned comparison.
04.03.28 BJH Release 10.21
Add pamsumm.
Add pamsummcol.
Add pamsharpness, pamsharpmap.
Add ppmtodjvurle. Thanks Scott Pakin .
pstopnm: add -dpi option.
ppmtopcx: add -planes option.
pbmtext: add -width option.
replace pnmcomp with pamcomp, do transparency right wrt gamma.
tifftopnm: Use better CMYK->RGB algorithm: y=1-(b+k) instead
of y=(1-k)*(1-b) in Row By Row mode.
pbmtext/libnetpbm: Allow pbmfont fonts to have 96 characters
(32-128) instead of 95.
pnmtopng: fix bug with -transparent.
pcxtoppm: remove debugging footsteps.
pnmflip: pass through -plain, etc. to pamflip.
Include pm_system.h, pm_gamma.h in package.
ppmtomap: Change #/bin/sh to #!/bin/sh.
ppmtogif: Don't violate array bounds when GIF color map is
is larger than internal color map.
yuvsplittoppm: Fix -ccir601 option; clean up.
ppmtobmp: Fix bug: Generates invalid bits per pixel
(e.g. 3) when input image has small number of colors.
Thanks David Jones .
pbmtog3: fix buffer overrun when image > 1728 columns.
Thanks Akira F Urushibata .
pnmsvgalib: Correct error message - too wide -> too tall.
pnmtotiffcmyk: Correct abs to fabs so -theta works.
sldtoppm: Correct abs to fabs.
pgmramp: Correct abs to fabs so -rectangle and -ellipse work.
pgmramp: Don't crash with -rectangle and height or width = 1.
ppmforge: Correct abs to fabs so the planet is more than
2 pixels wide. Also recode much of program in high level C.
pnmtojpeg: interpret "length" field in exif data as unsigned
16 bit instead of signed.
pnmrotate: fix bug: always crashes in memory free
pnmrotate: remove debugging messages.
Declare _XOPEN_SOURCE=500 in programs that use strdup() so
C libraries that don't have _BSD_SOURCE will declare it.
Use FTELLO macro so things compile on a system that
doesn't have ftello. Don't assume _LARGE_FILE_API means
ftello is available -- _LARGE_FILE_API is input to libc, not
output from it.
04.01.30 BJH Release 10.20
pamscale: derive from pnmscale.
pamscale: Add resampling/convolution code. Thanks
Michael Reinelt .
pamscale: Do math in linear intensities instead of
gamma-adjusted.
pamscale: Add -xyfill.
pnmtopng: Remove global variables. Solves a problem with
conflicting name with libc: "gamma".
pbmtomda: make program identifier 'MicroDesignPCW'. Thanks
John Elliott .
fitstopnm: Produce maxval 1 instead of 0 when input is all one
value. Use maxval 255 when samples are floating point.
pamstretch-gen: be robust to invalid PNM input.
anytopnm: do safe temporary files.
ppmquantall: do safe temporary files.
pnmindex: do safe temporary files.
pnmmargin: do safe temporary files.
pamstretch-gen: do safe temporary files. Thanks
Stefan Nordhausen .
tifftopnm: Do better validation of number of channels.
libnetpbm: Add pm_tmpfile().
libnetpbm: Add "normalized" (floating point) read/write
routines: pnm_readpamrown(), pnm_writepamrown(),
pnm_allocpamrown(), pnm_freepamrown().
libnetpbm: Add pm_gamma709, pm_ungamma709().
libnetpbm: rename createBlackTuple() to pnm_createBlackTuple().
pm_openr_seekable(): use TMPFILE environment variable.
Thanks Kai Strieder .
libnetpbm: Fail when input maxval is 0. This wreaks havoc
with such things as rescaling to a new maxval.
pnmquant: Fix bug wherein all options are rejected.
ppmshadow: Fix crash in all invocations.
pnmtopng: fix bug with array bounds violation with -alpha.
Usual symptom: "internal inconsistency" message.
anytopnm: Remove "function" so it works on FreeBSD.
configure: Do a better job of choosing between -R and -rpath.
configure: Add test compile for PNG, Z libraries.
03.11.15 BJH Release 10.19
ppmhist: Add -float option.
ppmhist: speed up -colorname by reading color dictionary only
once.
bmptopnm: fix bug with BMPs that end prematurely.
giftopnm: Properly generate alpha mask when the same
color is both transparent and opaque in the GIF. Thanks
Karl Zilles .
rgb.txt: move D65 to the end, so "white" is preferred.
xwdtopnm: change interpretation of bitmap_pad and bitmap_unit
to accommodate Xfree86 direct color 24 bit xwd.
pbmtextps: fix bug where intermediate file gets truncated.
pstopnm: fix bug in which Standard Input never works.
ppmtobmp: change 'char' to 'unsigned char' to work around a
Solaris C library bug.
ppmtobmp: handle maxval properly for maxval != 256 truecolor BMP.
Thanks Michael Buchholz .
ppmquant: replace with wrapper for pnmquant, because ppmquant
had some really hard bug in computing the new color set.
Fix stack corruption in pXm_check() on systems that have
both 32 and 64 bit file offsets.
Add 'makecat' build tool and description to USERDOC of
using lynx -dump to get man-able documentation.
Make AIX shared library build work, with -qmkshrobj.
configure: Add intelligence to default location for zlib,
libpng headers.
configure: Make shared libraries work on AIX.
Add netpbm-config.
installnetpbm: don't crash on mkdir on old Perl.
03.09.19 BJH Release 10.18
Add pbmtomrf, mrftopbm.
Add escp2topbm, pbmtoescp2. Thanks Ulrich Walcher
Add pbmtomatrixorbital.
Add ddbugtopbm by Russell Marks.
bmptopnm: Handle transparency, arbitrary pixel format (rgba
masks in BMP header).
bmptopnm: Handle top-down BMP.
bmptopnm: Handle 32 bit BMP. Thanks Aaron Orenstein
.
ppmtopcx: add -8bit option. Thanks Holger Schemel
.
ilbmtoppm: recognize (and ignore) DPPS and TINY chunks.
pbmpage: Add solid perimeter box to Pattern 1.
anytopnm: use 'file --mime' where available to determine file
type more robustly.
manweb: make 'webdir' a list of directories instead of just one.
pnmpsnr: fix bug: Cr and Cb interchanged. Thanks
"Uwe Utecht" .
pnmstitch: fix crash. Thanks "Paul" .
manweb: add ability to read info files.
configure: missing lineends for Solaris.
anytopnm, ppmquantall: remove non-POSIX tail -N and egrep.
pgmtexture: Fix Measure of Correlation-2 so small values don't
turn into zero (replace abs() with fabs()).
Add and use MALLOCVAR and MALLOCARRAY utility macros.
Allocate rows individually if can't get all rows in a single
memory block.
Remove hpcdtoppm from the main package because it isn't
licensed properly to be distributed on Sourceforge.
Remove "magic" file -- the version that comes with Christos
Zoulas' 'file' package now contains everything that file had.
configure: put space after -o in test compiles.
Explicitly set SCRIPTS make variable to null so environment
variable of the same name doesn't screw things up.
Remove -DALL_SOURCE from AIX compile; define it in files that
require it.
Add -ffast-math option to recommended Gcc options.
stamp_date: don't use LOGNAME as a variable (on AIX, you can't).
03.07.05 BJH Release 10.17
Various code cleanups based on TRU64 compiler warnings.
Configure: print message when $OSNAME not recognized.
Fix Makefile.common so LIBS and LOADLIBES work.
Fix make file for Ppmglobe so it links the math library.
Fix bug in xxx_check(): function/prototype mismatch
causes bogus wrong-filesize error on systems where off_t
is sometimes not 64 bits.
03.07.03 BJH Release 10.16
Add ppmglobe. Thanks Max Gensthaler .
bmptopnm: Add ability to convert 16 bits per pixel Windows BMP.
giftopnm: add -image=all.
pnmtiff: Add -resolutionunit option.
pnmtopng: fix bugs, remove limitations with -text.
pgmabel: Declare internal subroutines 'static'.
pstopnm: fix bug: encapsulated postscript confused with
regular postscript, so all pages get overlaid as one page.
pnmrotate: Use smaller real memory working set.
winicontoppm: use standard option parser.
pnmflip: fix bug causing -r180 and -r270 to be ignored.
Thanks YANO Hirokuni .
configure: fix bug with missing space when using CFLAGS
environment variable.
Add CPPFLAGS and LOADLIBES to rules and 'configure' test
compiles.
Issue error message if you do 'make package' before 'make'.
Add VERSION file to package.
Use explicit library file name on a link instead of -L/-l
where possible.
03.04.27 BJH Release 10.15
Add pamtohtmltbl. Thanks Alexander B. Ivanov .
Add pampop9. Thanks Robert Tinsley,
.
winicontoppm: Handle 24 bit direct color winicons. Thanks
Lee Benfield .
pnmrotate: add -background option.
pnmtojpeg: Add -density option.
pamtotga: Fix bugs with images with alpha planes.
libnetpbm: Add ppm_readcolornamefile().
Make library and programs work with files > 2GB. At least
on GNU and AIX.
pbmtext: Add -momargin option. Thanks "Slaven Rezic"
.
pbmtoepsi: fix bug: non six-digit lines between
%%BeginPreview: ... and %%EndImage . Thanks
"K.Nakano" .
pnmrotate: fix bug: background color computed wrong.
pnmrotate: fix bug: PBMs without -noantialias not properly
promoted to PGM.
pnmtops: fix bug: 1 bit per sample output when maxval is 2
or 3. Should be 4 bits per sample.
pnmtops: fix bug: everything too dark when input maxval less
than Postscript maxval.
pm_nextimage(): fix bug: doesn't read past white space at the
end of a plain-format raster.
pnmremap: fix performance bug: don't put same color into hash
twice. Thanks Hannu Koivisto .
ppmtoxpm: Add -hexonly. Default to system color dictionary.
Use standard library routines to access color dictionary.
pnmcolormap: Keep only one row at a time in memory.
bmptopnm: fix buffer overrun with wild ColorsUsed value.
Change ordering of include files in parallel.c so it compiles
on AIX 5.
configure: change -O2 to -O0 for broken gcc compiler.
One more chop at the -R/-rpath issue: new defaults for Solaris.
03.02.13 BJH Release 10.14
Add pamedge, adapted from pnmedge by Peter Kirchgessner, 1995.
Add ppmwheel, adapted from ppmcirc by Peter Kirchgessner, 1995.
Add ppmtoarbtxt, renamed from ppmtotxt by Peter Kirchgessner,
1995.
pnmflip: add pnmflip directory to search path for pamflip.
picttoppm: Recognize DirectBitsRgn opcode. Thanks
.
ppmbrighten: -normalize works with nonseekable input.
jpegtopnm: Update exif stuff to match Jhead 1.9.
bmptopnm: fix for the case of ColorsUsed != 0 in
non-colormapped (24 bit) image.
pbmtopgm: limit the maxval to legal values.
pamarith: minimum output maxval of 2 for -compare.
rgb.txt: remove redundant lines, clean up.
pnmgamma: fix bug in -ungamma -cieramp. 1/gamma vs gamma.
pnmtopng: fix bug: background color = transparent color in
colormapped image causes transparent color not to be
transparent. Also make bilevel images with background color
use 1 bit per pixel instead of 2.
pngtopnm: Fix bug: wrong exit code.
Fix broken ISUPPER; affects sbigtopgm and color name functions
pamflip: Use bundled strsepN() instead of strsep().
giftopnm: fix bug with GIFs that (invalidly) contain translation
cycles. Clean up LZW decompression so it is readable and more
robust.
Add strsepN() to libnetpbm, because strsep() is not available
everywhere.
Change --rpath to -rpath.
Change LINKERISGCC to LINKERISCOMPILER and default to Y.
configure: Handle explicit "none" response to svgalib prompt.
Add merge.o (vs mergelist) method of doing merge build.
Fix bug: jbig converters missing from merge build.
03.01.09 BJH Release 10.13
Add pamlookup.
Add pamflip: replacement of pnmflip. Does PAM images and has
-xform option.
Add pm_system().
Ppmrainbow: Add -norepeat option.
tifftopnm: handle 32 bits per sample -- Use upper 16 bits.
tifftopnm: add -byrow.
pamarith: Add -compare operator.
ppmtompeg: Check for missing YUV_SIZE option with
-combine_frames and -combine_gops.
ppmtompeg: fix buffer overrun with invalid message received
by slave processor.
pamseq: Fix crash/memory corruption.
pamseq: Remove debugging statement.
Add some protection against Netpbm images that indicate
dimensions too big to process without arithmetic overflow.
Replace isdigit() with ISDIGIT(), etc.
pnmnorm: malloc histogram array instead of using stack
variable to avoid stack overflow.
thinkjettopbm: works with Solaris Lex.
Add PKGDIR_DEFAULT Makefile.config variable.
Configure: Test for old JPEG library without jpeg_marker_struct.
Configure: Add -I/usr/local/include and -I/usr/local/lib to
OpenBSD and NetBSD compiles and links.
Change make variable from INCLUDE to INCLUDES to avoid collision
with Cygwin environment variable.
02.11.09 BJH Release 10.12
Add pamtojpeg2k, jpeg2ktopam.
pnmtotiff: add test for seekable output.
pnmflip: use packed PBM format to save memory. Thanks
Ivan Karski .
thinkjettopbm: replace getopt with shhopt to avoid header file
problem (getopt.h) on some systems.
fix multiple definition problem with pm_plain_output.
pgmminkowski, pgmmorphconv: fix bug: programs missing. These
were formally added in 10.0, but the code never actually went in.
pbmtomda: fix crash with input image not multiple of 4 rows.
tgatoppm: fix segfault in option processing from recent
option processor change.
Slight correction to coefficients in pnm_YCbCrtuple.
Add pnm_YCbCr_to_rgbtuple() to libnetpbm.
ppmtompeg: fix build failure with NETWORKLD=NONE.
ppmtompeg: fix build error due to broken C library header files
on SunOS.
Fix missing alias symlinks in merge build.
02.10.17 BJH Release 10.11
Fix nstring.h, ppmcmap.h dependency in analyzer/.
pnmtojpeg: Add -rgb option.
jpegtopnm: Handle a stream of consecutive JPEGs.
tifftopnm: use TIFFRGBAImageGet() so it works on compressed
images.
'make distclean' deletes all symbolic links, even if I forget
to put them in HEADERLINKS so that 'make clean' gets them.
02.10.10 BJH Release 10.10
Add -plain common option. Thanks "John H. DuBois III"
.
ppmhist: Add -colorname option
pnmcomp: Add -align=beyondleft, -align=beyondright,
-valign=above, -valign=below and make -xoff and -yoff work
in conjunction with -align and -valign. Idea from
"John H. DuBois III" .
manweb: Add ability to search through PATH for documentation
so you can just say 'manweb bmptopnm'.
bmptopnm: fix bug from 10.9: 24 bit truecolor should be
BGR, not RGB.
ppmtobmp: fix bug from 10.9: 24 bit truecolor should be
BGR, not RGB.
pamarith: Fix bug with mixed depth inputs.
pamarith: Fix bug with -subtract of larger # from smaller.
pnmstitch: fix bug causing segfault at end.
pgmtopgm, ppmtoppm: Issue error message if arguments given.
giftopnm: remove debugging messages.
Fix line number in color dictionary error messages.
Fix build errors on systems that don't do "echo -n" by using
cat /dev/null instead.
Fix build errors that cause the data files not to get installed.
Merge build: fix install of other/ programs and add NETWORKLD
to the link.
Merge build: add missing backward compatibility 'pnmfile' link.
Add SCO OpenServer to configure dialog. Thanks
John H. DuBois III
Add FreeBSD to the configure dialog.
02.09.21 BJH Release 10.9
Add pgmtopgm.
Add ppmtoppm.
Add ppmtoterm. Thanks Ero Carrera .
Add ppmrough. Thanks Eckard Specht
.
Add rgb.txt
pnmquant: make it work with pipe input; fix crash due to
half-finished work accidentally released a few releases ago.
bmptopnm: Use way less memory by inverting image while still
in the BMP raster format (as little as 1 bit per pixel),
instead of in the libnetpbm format (96 bits per pixel).
ppmhist: Reads image into memory one row at a time instead
of entire image in memory at once.
ppmshadow: make it work with non-PPM input.
ppmshadow: Don't run a shell for every Netpbm program.
xwdtopnm, pnmtoxwd: make them work on 64-bit-long machines.
ppmdither: Fix subscript out of bounds bug which caused
random intensity values for the most intense pixels (and
very slightly too-intense values everywhere).
ppmtobmp: Fix bug in 24 bit truecolor: was writing B, G, R
but standard appears to be R, G, B (per bmptopnm and xli).
pamarith: restore pnmarith capability of having one of the
inputs be depth 1 while the other is not.
pnmtopclxl: fine tuning of PBM input case.
remove pnmfile; obsoleted by pamfile.
ppmfade, ppmshadow: Change #!/bin/perl to #!/usr/bin/perl.
Add a bunch of missing #include and fix scanf type
mismatches, per gcc 3.2 compiler warnings.
Add some missing -R options to links.
02.08.16 BJH Release 10.8
Build: Fix Configure bug with JPEG headers in default path.
Pnmtopclxl: fix bug with PBM input not multiple of 8 across.
02.08.15 BJH Release 10.7
Pnmtopclxl: remove padBytesMultiple attribute, which doesn't
exist on old printers.
Pnmtopclxl: fix MediaDestination parameter value.
Pnmtopclxl: make options parsed by standard Netpbm
option parser; remove unconventional (and broken)
--output option. Fix crash with Standard Input input.
Check whole length given for option values.
pnmflip: Add -memsize and -pagesize. Make other options
conventional - only one transformation allowed.
Make 'configure' a Bourne Shell program that calls configure.pl.
Add pnmstitch. Thanks Mark Salyzyn .
Fix -R stuff to fix Solaris build.
Add lots of consts, remove dead code, with the help of
GNU compiler warnings.
02.07.29 BJH Release 10.6
Add pnmtopclxl. Thanks Jochen Karrer
.
Add pnmstitch code; not working yet.
pnmmontage: add -data option. Thanks Ben
.
pamtotga: Add alpha capability, via "RGBA" tuple type.
pamtotga: put "image ID" in TGA output.
ppmtotga: take PAM input; rename dot 'pamtotga'. Former name
was a misnomer anyway; it was always a PNM program because it
distinguished between PGM and PPM input.
pamtotga: Add alpha capability, via "RGBA" tuple type.
pamtotga: put "image ID" in TGA output.
pnmcomp: Add -opacity option.
pbmtog3: Add -nofixedwidth option. Vladimir Nadvornik
ppmtopgm: upgrade to handle multi-image PPM file.
icontopbm: fix bugs with invalid input formats. Thanks
Vladimir Nadvornik
ppmtompeg: fix crash with logarithmic psearch algorithm and
non-power-of-2 search range.
configure: fix use of compiler other than cc. Thanks
Ben .
Fix Cygwin library build for default DLLVER.
Fix file handle problem with Configure on old Perl.
Don't use .defs file/run dlltool (Windows).
02.07.14 BJH Release 10.5
Make library link on Solaris with GNU Ld work. Thanks
Russel Winder .
Make Configure not depend on File::Temp.
02.07.09 BJH Release 10.4
Fix space after -I bug in Makefile.common, lib/Makefile.
Change a bunch of macros to upper case; avoid name collision
of round() with math library.
Configure detects broken gcc, sets -O2.
Configure detects jpeg headers not in default search path.
02.07.02 BJH Release 10.3
Add pamfunc.
Add pgmabel. Thanks Volker Schmidt .
pamslice: add -xmgr option.
pgmslice: upgrade to pamslice.
pamarith: add -mean option.
pnmarith: upgrade to pamarith.
pnmtopng: add -palette option. Functional copy from
"Pnmtopng" package.
pbmtoepsi: Add -dpi option. Thanks Bill Cheng
tifftopnm: make -respectfillorder work.
pnmtopng: fix bugs in handling of text comment files.
Taken from "Pnmtopng" package.
pnmtopng: fix -hist option.
Cygwin build accommodations. Thanks Charles Wilson
.
Fix ppmtompeg build failure when JPEGLIB = NONE
Fix missing -R link options.
02.06.14 BJH Release 10.2
Works with separate build directory.
pnmnorm: fix precision error causes whites to become black
Fix bug: Pbmpage needs math library
02.06.07 BJH Release 10.1
ppmmake: add -maxval option
pgmramp: add -maxval option
Add pamseq.
ppmcolors: base on pamseq.
pnmtotiff: Fix bug in -indexbits.
Fix runtime library paths for Darwin, Netbsd
installnetpbm: Fix infinite loop when you refuse manweb.conf.
installnetpbm: Add mode to mkdir for older Perl.
installnetpbm: Use BSD option on Cp if not GNU.
02.06.01 BJH Release 10.0
Man pages replaced by web pages -- either private copies
or straight from Netpbm Central. Documentation distributed
via Worldwide Web, not in the Netpbm source code tarball.
Reorganize source tree. Combine 4 Netpbm libraries into 1.
Make merge build merge ALL programs into one.
Add pamendian.
Add pamstack.
Add pamtohdiff, hdifftopam.
Add pbmtextps. Thanks James McCann .
Add pgmminkowski, pgmmorphconv. Thanks Luuk van Dijk
pnmtotiff: Add -indexbits option to allow fewer than 8 bits
per sample in apletted image. Thanks Thomas Henlich.
.
pnmtotiff: put zeroes in unused colormap entries. Thanks
Thomas Henlich .
pbmtext: Add -lspace option. Thanks Denis .
ppmqvga: remove; appears to be obsoleted by Pnmquant.
pnmtops: remove setpagedevice by default. Add -setpage option.
ppmtouil: rename to pamtouil, add transparency.
pamchannel: Add -tupletype option.
pstopnm: Add a showpage in case the EPS source doesn't have it.
Thanks "J. Milgram" .
pstopnm: Run Ghostscript directly instead of via a shell.
Some Windows environments don't have a Bourne-compatible shell.
pnmtotiff: Don't put bogus colormap in grayscale TIFF.
Thanks Thomas Henlich .
picttoppm, ppmtompeg, rletoppm: fix bug with invalid parameter
("b" modes) on popen().
pnmtopng: fix bug with 'mayscale'.
pnmnorm: Fix bug with bvalue == 0. Thanks "Blake, Chris"
pnmtopng: restructure palette generation to make it
easier to read.
configure: Add --help.
Add Windows DLL versioning. Thanks Charles Wilson
.
Add Nstring library, so Netpbm programs can use asprintf(), etc.
02.03.15 BJH Release 9.25
Add pamdice.
pnmgamma: add -srgbramp.
ppmnorm, pgmnorm: replace with pnmnorm
ppmnorm: Read only a row at a time into memory.
ppmnorm: Add -keephues option.
pnmtotiff: Add -miniswhite option.
pnmtopsnr: Read only a row at a time into memory.
Convert bmptoppm to bmptopnm.
ppmtopcx: Add -xpos, -ypos options.
pcxtoppm: Don't require seekable input.
pcxtoppm: Improve messages; add some PCX header validation.
ppmtowinicon: Use standard alpha mask (PGM image) instead of
PPM image (black/not black) for and file.
pnmpad: Add -width, -height, -halign, -valign options.
Thanks M. van Beilen .
ppmhist: remove 100,000 color limit.
pnmnlfilt: works with multi-image streams. Thanks
"Steven M. Schultz" .
pcxtoppm: Fix bug with negative image position.
pnmtopsnr: fix unsigned integer bug giving wrong results on PGMs.
libpnm: fix bug: PAM functions write 16 bit samples wrong.
Tifftopnm: fix bug: transparency mask all wrong. Thanks
Heikki Suonsivu .
Makefile improvements for cross compiling. Thanks
"Maciej W. Rozycki" .
Allow build with existing JBIG library instead of the
bundled one. Thanks "Maciej W. Rozycki"
.
ppmtompeg Makefile: include -R option where needed.
Thanks Hans Werner Strube .
Add BSD/OS to configure program.
Thanks seebs@plethora.net (Peter Seebach)
install uses supplied install.sh instead of an 'install program
it finds on your system.
configure: Fix missing newline bug for IRIX.
02.01.27 BJH Release 9.24
Add ppmsvgalib.
pnmremap: Use full color resolution of input instead of that
of color map to do Floyd-Steinberg dithering.
pnmremap: fix bug where Floyd-Steinberg dithering of very
dark areas creates spots of maximal brightness.
ppmquant: fix same bug as pnmremap.
pnmscale: add -nomix option
rawtopgm: fix bug. Thanks Joe Krahn .
pnmquant: replace with a Perl program that calls
pnmcolormap and pnmremap.
Fix bug: PAM library routines fail to read 2-byte samples.
fix bug: install-dev doesn't install mappam.h.
configure sets up install paths.
make install does Ldconfig where required.
pnmtops: Add "XxY" form of -dpi option. Thanks Vladimir
Nadvornik
ppmtomap: rewrite to call the new pnmcolormap.
pnmscale: clean up code a little; now it appears to produce
somewhat better results -- don't know why.
exif.h: remove C++ comments
various fixes to please Irix compiler.
Change some "long" to "uint32n" so it works on 64 bit
machines.
02.01.04 BJH Release 9.23
tifftopnm: fix bug from 9.22: always crashes.
xpmtoppm: fix bug from 9.21: XPM 3 files not recognized because
/* XPM */ comment read twice.
xwdtopnm: Use bitmap_pad instead of bitmap_unit on X11 pixmap
files with depth > 1. Thanks "Ben Kelley" .
pnmtopalm: fix bug: crashes with -colormap and non-color input.
ppmforge: fix bug: array subscripts out of bounds. Thanks
Rob Menke .
giftopnm: fix bug with extraneous "bogus character 0x00" message
tifftopnm: add -respectfillorder option. Ignore FILLORDER
by default.
make install-dev: install shared library stub files (symlinks).
ppmtogif: Fix bug: color resolution in wrong bits in logical
screen descriptor. Thanks Elmue .
Add -lz to Tiff programs; libtiff requires it now.
Add ppmcolors.
Add pnmremap.
Add pnmcolormap.
pnmtops: Include setpagedevice directive in Postscript output.
Thanks A Braunsdorf .
pnmtops: turn-to-fit logic works properly where paper is
wider than tall. Thanks A Braunsdorf .
giftopnm: cleanup
01.12.10 BJH Release 9.22
Fix bug: pnm_luminosity_factor must be "extern" in pam.h
pbmtonokia: can create picture messages. -txt, -net options.
tifftopnm: Accept invalid FILLORDER value - assume msb-to-lsb.
01.12.01 BJH Release 9.21
Add pamdeinterlace.
Add pnmquant.
pnmtops: Accept maxval > 255 input.
Rename pnminterp to the more informative pnmstretch and
pnminterp-gen to pamstretch-gen.
pnmstretch: convert from pnm to pam - pamstretch.
pamstretch: add -xscale, -yscale options
pbmtolj: Add -copies option
ppmtogif: Add secret -h option to make Latex2html configure
program work.
ppmquant: output maxval controlled by colormap maxval,
not input maxval.
pbmclean: Add -black and -white options. Thanks
Michael Sternberg .
xpmtoppm: Don't require input to start with a comment.
Thanks MINAMI .
xpmtoppm: Fix bug introduced with 9.20 with XPM 1 files.
pnmcut, pamcut: fix bug with cut that begins past right edge
of image.
pamcut: Same fix as in pnmcut in 9.9. Also fix black fill.
pnmtotiff: Process one row at a time instead of reading
entire image into memory. Add -color, -truecolor.
01.10.05 BJH Release 9.20
ppmtogif: Add -nolzw option.
ppmntsc: do multiple images
pnmtojpeg: fix bug from 9.19 causing crash on most images.
ilbmtoppm: Correct cmyk -> rgb transformation.
ppmtompeg: Fix bug due to missing "breaks". Thanks
Wolfgang Mueller
eyuvtoppm: fix memory leak, speed up by allocating working
storage only once.
libopt.c: replace strtok_r() with strtok() so it compiles on
Mac OS X.
01.09.18 BJH Release 9.19
pnmtotiff: fix bug from 9.17 causing compile to fail
with old Tiff library
pnmtojpeg: Add -exif option.
ppmtojpeg: Change to pnmtojpeg; PBM/PGM input causes grayscale
output.
pnmtotiff: Handle LSB2MSB FILLORDER.
pnmtotiff: Fix -msb2lsb, -lsb2msb. Used to do nothing but
set FILLORDER tag value.
Make maxval of a PBM image read as a PGM image 255 instead of 1.
libpbm: eliminate external data symbol pm_show_version
so it works with Windows.
Use subplatform-specific prefixes on Windows shared libraries.
Thanks Charles Wilson .
01.09.04 BJH Release 9.18
Fix bug from 9.17: -lm now needed in jpegtopnm link.
jpegtopnm: Add -dumpexif and -exif options.
pnmtotiff: Fix bug: 16 bit samples byte-swapped on little-
endian machines.
Remove C++ comments from exif.c
01.09.03 BJH Release 9.17
Add ppmtoneo, neotoppm. Thanks Teemu Hukkanen