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 <ashpilkin@gmail.com>.
pamdice: Fix incorrect output file name with PAM input. Always
broken (pamdice was new in Netpbm 9.25 (March 2002).
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
OBS-URL: https://build.opensuse.org/package/show/graphics/netpbm?expand=0&rev=131
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).
sunicontopnm, escp2topbm, mgrtopbm, ybmtopbm, pamcut, pbmpscale,
pnmcat, pnmpad: Fix arithmetic overrun with ridiculously large
image.
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)).
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.
pamtogif: Fix bug: doesn't ignore the input alpha mask when user
specified -transparent. Broken in Netpbm 10.37 (December 2006).
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.
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
<krkk@krkk.ct8.pl>.
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 <krkk@krkk.ct8.pl>.
pamtopng: Fix: treats all tuple types that start with BLA as
BLACKANDWHITE. Always broken (pamtopng was new in Netpbm 10.71
(June 2015)).
OBS-URL: https://build.opensuse.org/package/show/graphics/netpbm?expand=0&rev=124
* anytopnm: Fix unpredictable behavior when file name contains
spaces.
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).
pamfind: Add -machine .
* Multiple: fix bug: when you specify the same option twice, you
OBS-URL: https://build.opensuse.org/package/show/graphics/netpbm?expand=0&rev=115
* 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 <lucaslunar32@hotmail.com>.
* 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.
* 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).
- modified patches
* netpbm-gcc-warnings.patch
* netpbm-security-code.patch
OBS-URL: https://build.opensuse.org/package/show/graphics/netpbm?expand=0&rev=97
- updated to 10.84.02
* 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)).
Add pamaltsat. Thanks Anton Shepelev <anton.txt@gmail.com>.
* Add pamtris. Thanks Lucas Brunno Luna
<lucaslunar32@hotmail.com>.
* 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).
OBS-URL: https://build.opensuse.org/request/show/643924
OBS-URL: https://build.opensuse.org/package/show/graphics/netpbm?expand=0&rev=95
- updated to 10.83.00
* Add pamlevels. Thanks Anton Shepelev <anton.txt@gmail.com>.
* Add pamgetcolor. Thanks Anton Shepelev <anton.txt@gmail.com>.
* Add rgb-<maxval>: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.
[CVE-2018-8975, bsc#1086777]
https://sourceforge.net/p/netpbm/code/3279/
* 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).
- Refreshed patch netpbm-security-code.patch
- Dropped patch fixed upstream netpbm-CVE-2018-8975.patch
OBS-URL: https://build.opensuse.org/request/show/638489
OBS-URL: https://build.opensuse.org/package/show/graphics/netpbm?expand=0&rev=93
* Pngtopam: Fix bogus warning of non-square pixels when image does
not contain pixel resolution information. Introduced in Netpbm
10.48 (September 2009)
* 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).
* 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).
OBS-URL: https://build.opensuse.org/package/show/graphics/netpbm?expand=0&rev=89
* 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
OBS-URL: https://build.opensuse.org/package/show/graphics/netpbm?expand=0&rev=85
- Drop patch netpbm-missing-file-close.patch fixed differently by
upstream
- Drop patch netpbm-jasper.patch which is no longer needed
- Remove accidental -O0 added to cflags
- Version update to 10.79.2:
* Fix 'format-security' GNU compiler warning.
* libnetpbm: pnm_parsecolorn(), pnm_parsecolor(): fix parsing of
rgb: color specifications: yields value slightly too dim.
* pamgauss: Add -maximize, -oversample . Thanks Anton Shepelev
<anton.txt@gmail.com>
* pnmconvol: Extend -normalize to be applicable to convolution
kernels specified by PGM file. Thanks Anton Shepelev
<anton.txt@gmail.com>
* g3topbm: tolerate fill bits.
* pbmtog3: Add -align8, -align16.
* ppmshadow: Improve results for very small maxval.
* ppmshadow: eliminate extraneous messages from pnmconvol.
* 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.
* 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).
OBS-URL: https://build.opensuse.org/request/show/509659
OBS-URL: https://build.opensuse.org/package/show/graphics/netpbm?expand=0&rev=83
* pamcrater: fix incorrect output with non-square image.
* libnetpbm: fix bug: pm_system_XXX closes Standard Input if you
supply a Standard Output accepter but not a Standard Input
feeder.
* fix incorrect output with -mixtransparency.
* pamcomp: remove debug trace message with -mixtransparency.
* pnmtojpeg: fix array bounds violation in argument list.
* 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.
* tifftonm: Fix incorrect PBM output with two-color paletted TIFF
image.
* tifftopnm: Fix memory corruption when image is more pixels than
can be represented as a C unsigned integer.
* tifftopnmcmyk: Fix bug: fails with very wide images and no
-rowsperstrip.
* svgtopam: Fix crash when out of memory.
* pnmcrop: Add -closeness
* libnetpbm: ppmd_fill_path: remove debug trace.
* pnmpad: Fix bug: incorrect output width.
- removed netpbm-no-build-date.patch: not needed since:
* --version global option: with SOURCE_DATE_EPOCH environment
variable, display source code datetime instead of build
datetime.
OBS-URL: https://build.opensuse.org/package/show/graphics/netpbm?expand=0&rev=80
* pnmquantall: Fix failure when temporary file location is
not the same filesystem as the output file.
* pnmquantall: Fix incorrect handling of when the Pnmremap or
the final rename fails.
* 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: tifftopnm.c: fix undefined WIFSIGNALED, etc.
OBS-URL: https://build.opensuse.org/package/show/graphics/netpbm?expand=0&rev=78
* pambackground: fix bug: segfault or incorrect results in most
cases.
* ppmtoarbtxt: Fix some undefined behavior when program limits
are exceeded.
* anytopnm: convert all images in a multi-image GIF instead of
just the first.
* nmnorm: add -bsingle, -wsingle.
* pamtosvg: fix use of unset variable; probably results in a
crash.
* pnmgamma -srgbtobt709, -bt709tosrgb: fix bug; incorrect output
nearly always.
* pamtilt: fix bug: unconditional crash.
* pgmmorphconv: fix bug: always produces PGM Plain format.
* giftopnm: Fix bug: crashes if purported GIF has neither a global
color map nor a local one.
* pgmmorphconv: add -gradient.
* pnmhisteq: add -noblack and -nowhite.
* tifftopnm: allow input file to be nonseekable.
* Add yuy2topam.
* Add pgmtosbig.
* Add st4topgm, pgmtost4.
* ppmtoarbtxt: fix bug: wrong output when high numbers represent
darker.
* ppmtorgb3: Fix buffer overflow with long input file name.
* st4topgm: Fix bug: with no argument, uses file named "'" instead
of Standard Input.
* pnmconvol: Fix bug: wrong output for pixels that convolve to
negative values (should be clipped to zero).
OBS-URL: https://build.opensuse.org/package/show/graphics/netpbm?expand=0&rev=66
* pcdovtoppm: Fix crash due to invalid operator == on some
systems.
* Fix incorrect option parsing when there are multiple common
options (e.g. -plain -quiet).
* sgitopnm: add ability to convert 2-channel SGI image.
Thanks Prophet of the Way <afu@wta.att.ne.jp>.
* etc. see HISTORY
- modified patches:
* netpbm-make.patch (refreshed)
* netpbm-security-code.patch (refreshed)
OBS-URL: https://build.opensuse.org/package/show/graphics/netpbm?expand=0&rev=62
* Add pamvalidate.
* Add pamfix: Does what pamfixtrunc did, plus repairs excessive
sample values.
* pgmramp: add -diagonal.
* libnetpbm: Read functions validate that sample values do not
exceed maxval.
* etc. see HISTORY for details
OBS-URL: https://build.opensuse.org/package/show/graphics/netpbm?expand=0&rev=55
* 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: fails with message about waitpid() failing
if invoked with SIGCHLD ignored. Introduced in 10.56
(September 2011).
* pnmtops: Fix bug: closes Standard Error. Introduced in
10.64.02 (today).
* pnmtops: Fix bug: program hangs if it inherits lots of open
files. Introduced in 10.56 (September 2011).
* pngtopam: fix bug: ignores -gamma. Introduced in 10.48
* see HISTORY for details
- removed wordaccess-include-be.patch (upstreamed)
- removed stdbool-after-jasper.patch (workaround not needed yet)
OBS-URL: https://build.opensuse.org/package/show/graphics/netpbm?expand=0&rev=53
* pngtopam: fix bug: ignores -gamma. Introduced in 10.48
(September 2009).
* Add pamtowinicon, winicontopam. Thanks Ludolf Holzheid.
* pgmnoise: add -maxval, speed up. Thanks Prophet of the Way.
* etc. see doc/HISTORY
- added stdbool-after-jasper.patch, to be removed in the next
submission [bnc#839584]
OBS-URL: https://build.opensuse.org/package/show/graphics/netpbm?expand=0&rev=49
* pamstereogram: change -guidesize default from 10 to 20
* 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.
* pamstereogram: -smoothing smooths images even without -texfile.
* pnmcat: set don't care bits in packed PBM output to zero so
they are predictable.
* etc. see doc/HISTORY
OBS-URL: https://build.opensuse.org/package/show/graphics/netpbm?expand=0&rev=46
* Xbmtopbm: fix incorrect output, memory leak. Thanks Prophet of
the Way <afu@wta.att.ne.jp>.
* 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.
* 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 10.23 (July 2004).
* 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 10.49 (December 2009).
* pnm_hashtuple: slight performance improvement from new hash
function. Thanks Prophet of the Way <afu@wta.att.ne.jp>.
* ppmtospu: wild memory accesses. Always broken (program added in
10.58 (March 2012).
* pamtosrf: fix storage corruption. Always broken (program added
in 10.55 (June 2011).
OBS-URL: https://build.opensuse.org/package/show/graphics/netpbm?expand=0&rev=42