From 62307d18ef39ef2114cf8942e2a41b2adc849076 Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Thu, 6 Mar 2014 13:56:12 +0000 Subject: [PATCH] fix to vips_grey() --uchar --- ChangeLog | 3 +++ configure.ac | 6 +++--- libvips/create/grey.c | 2 ++ 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 46ad96b0..eabcd4b6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +6/3/14 started 7.38.6 +- grey ramp minimum was wrong + 24/2/14 started 7.38.5 - jpeg load from buffer could write to input, thanks Lovell - fix webpload from buffer, thanks Lovell diff --git a/configure.ac b/configure.ac index 8bf05eb3..14793c5b 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # also update the version number in the m4 macros below -AC_INIT([vips], [7.38.5], [vipsip@jiscmail.ac.uk]) +AC_INIT([vips], [7.38.6], [vipsip@jiscmail.ac.uk]) # required for gobject-introspection AC_PREREQ(2.62) @@ -17,7 +17,7 @@ AC_CONFIG_MACRO_DIR([m4]) # user-visible library versioning m4_define([vips_major_version], [7]) m4_define([vips_minor_version], [38]) -m4_define([vips_micro_version], [5]) +m4_define([vips_micro_version], [6]) m4_define([vips_version], [vips_major_version.vips_minor_version.vips_micro_version]) @@ -37,7 +37,7 @@ VIPS_VERSION_STRING=$VIPS_VERSION-`date` # binary interface changes not backwards compatible?: reset age to 0 LIBRARY_CURRENT=37 -LIBRARY_REVISION=4 +LIBRARY_REVISION=5 LIBRARY_AGE=0 # patched into include/vips/version.h diff --git a/libvips/create/grey.c b/libvips/create/grey.c index 656204cf..9f42b492 100644 --- a/libvips/create/grey.c +++ b/libvips/create/grey.c @@ -89,6 +89,8 @@ vips_grey_class_init( VipsGreyClass *class ) vobject_class->description = _( "make a grey ramp image" ); point_class->point = vips_grey_point; + point_class->min = 0.0; + point_class->max = 1.0; } static void