diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2007-11-13 16:22:37 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2007-11-13 16:22:37 +0000 |
commit | 9d3e993cb53679bbd3f636a61d765b0be43d30b9 (patch) | |
tree | 46bfbc122621e17c8f8ec75e24ff2261d539fee5 | |
parent | e1c980c7e19738902347ecf87b71703d9fb2571b (diff) | |
download | netpbm-mirror-9d3e993cb53679bbd3f636a61d765b0be43d30b9.tar.gz netpbm-mirror-9d3e993cb53679bbd3f636a61d765b0be43d30b9.tar.xz netpbm-mirror-9d3e993cb53679bbd3f636a61d765b0be43d30b9.zip |
Release 10.35.33
git-svn-id: http://svn.code.sf.net/p/netpbm/code/stable@465 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-rw-r--r-- | Makefile.version | 2 | ||||
-rw-r--r-- | doc/HISTORY | 5 | ||||
-rw-r--r-- | editor/pnmcrop.c | 7 |
3 files changed, 10 insertions, 4 deletions
diff --git a/Makefile.version b/Makefile.version index d8dd9a14..f00a8739 100644 --- a/Makefile.version +++ b/Makefile.version @@ -1,3 +1,3 @@ NETPBM_MAJOR_RELEASE = 10 NETPBM_MINOR_RELEASE = 35 -NETPBM_POINT_RELEASE = 32 +NETPBM_POINT_RELEASE = 33 diff --git a/doc/HISTORY b/doc/HISTORY index 6960d6c4..d9c04bd9 100644 --- a/doc/HISTORY +++ b/doc/HISTORY @@ -4,6 +4,11 @@ Netpbm. CHANGE HISTORY -------------- +07.11.13 BJH Release 10.35.33 + + pnmcrop: fix -verbose message about background color with + -white. + 07.10.12 BJH Release 10.35.32 bmptopnm: fix crash with 16 bit images. diff --git a/editor/pnmcrop.c b/editor/pnmcrop.c index 5fafbaac..9ce388ab 100644 --- a/editor/pnmcrop.c +++ b/editor/pnmcrop.c @@ -219,10 +219,11 @@ computeBackground(FILE * const ifP, break; } - if (verbose) + if (verbose) { + pixel const backgroundPixel = pnm_xeltopixel(background, format); pm_message("Background color is %s", - ppm_colorname(&background, maxval, TRUE /*hexok*/)); - + ppm_colorname(&backgroundPixel, maxval, TRUE /*hexok*/)); + } return(background); } |