From f0af18ec24418589c84df15747f7d5faca866588 Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Tue, 13 Nov 2018 17:44:38 +0000 Subject: [PATCH 1/2] fix uint status bar would display -ve values for pixels > 2**31 see https://github.com/libvips/nip2/issues/74 --- ChangeLog | 3 +++ configure.ac | 4 ++-- src/statusview.c | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index cf0964b8..5584bb47 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +started 8.7.1 13/11/18 +- fix uint status bar pixels >2**31 [Rob Erdmann] + started 8.7.0 22/5/18 - added vips7compat.h include for libvips 8.7 - more output for -V to help debugging CLI mode diff --git a/configure.ac b/configure.ac index 306a634a..15ada319 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,6 @@ # Process this file with autoconf to produce a configure script. -AC_INIT([nip2], [8.7.0], [vipsip@jiscmail.ac.uk]) +AC_INIT([nip2], [8.7.1], [vipsip@jiscmail.ac.uk]) # foreign stops complaints about a missing README (we use README.md instead) # and missing INSTALL (the standard Gnu INSTALL is not very useful) @@ -17,7 +17,7 @@ dnl m4_define([nip_major_version], [8]) m4_define([nip_minor_version], [7]) -m4_define([nip_micro_version], [0]) +m4_define([nip_micro_version], [1]) m4_define([nip_version], [nip_major_version.nip_minor_version.nip_micro_version]) diff --git a/src/statusview.c b/src/statusview.c index 5458d0b7..28e01554 100644 --- a/src/statusview.c +++ b/src/statusview.c @@ -402,7 +402,7 @@ statusview_mouse_band( StatusviewBand *svb, void *e ) break; case IM_BANDFMT_UINT: - set_glabel( svb->val, "%d", + set_glabel( svb->val, "%u", ((unsigned int *)e)[svb->bandno] ); break; From 1b204c9d965592e733e9d4718cd6c9869511fc95 Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Wed, 5 Dec 2018 17:31:42 +0000 Subject: [PATCH 2/2] add note about docs to README --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index b121a610..789579f1 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,11 @@ Windows and OS X, you can download a binary from the [nip2 releases area](https://github.com/libvips/nip2/releases). Only read on if you want to compile yourself from source. +# Documentation + +nip2 comes with a 50-page manual --- press F1 or Help / Contents in the +program to view it. + # Building nip2 from source In the nip2 directory you should just be able to do: