diff --git a/ChangeLog b/ChangeLog index d3177013..11a39e66 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 22/1/14 started 7.38.2 - auto RAD decode for affine +- falsecolour was not working for some image types +- foreign memory buffer images did not have the right dhint, broke + command-line falsecolour on sequential images 19/1/14 started 7.38.1 - bump soname, thanks benjamin diff --git a/libvips/conversion/falsecolour.c b/libvips/conversion/falsecolour.c index 697c7125..ab77c0ec 100644 --- a/libvips/conversion/falsecolour.c +++ b/libvips/conversion/falsecolour.c @@ -14,6 +14,8 @@ * - force input to mono 8-bit for the user * 1/8/13 * - redone as a class + * 23/1/14 + * - oops, was not auto-getting and casting the first band */ /* @@ -348,7 +350,7 @@ vips_falsecolour_build( VipsObject *object ) if( vips_check_uncoded( class->nickname, falsecolour->in ) || vips_extract_band( falsecolour->in, &t[1], 0, NULL ) || vips_cast( t[1], &t[2], VIPS_FORMAT_UCHAR, NULL ) || - vips_maplut( falsecolour->in, &t[3], t[0], NULL ) || + vips_maplut( t[2], &t[3], t[0], NULL ) || vips_image_write( t[3], conversion->out ) ) return( -1 );