From f24a4a273aab762d8bc2bd52ce96251bcf3901f9 Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Sat, 18 Apr 2020 11:40:43 +0100 Subject: [PATCH 1/2] fix regression in autorot we were writing the wrong image to the output, thanks malomalo see https://github.com/libvips/ruby-vips/issues/226 --- libvips/conversion/autorot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libvips/conversion/autorot.c b/libvips/conversion/autorot.c index f77607c2..fb39d5d4 100644 --- a/libvips/conversion/autorot.c +++ b/libvips/conversion/autorot.c @@ -190,7 +190,7 @@ vips_autorot_build( VipsObject *object ) return( -1 ); } - if( vips_image_write( t[0], conversion->out ) ) + if( vips_image_write( t[1], conversion->out ) ) return( -1 ); return( 0 ); From 0897a77515589c685ab7ef45c6f690f8b964c3fe Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Sat, 18 Apr 2020 11:41:43 +0100 Subject: [PATCH 2/2] update changelog --- ChangeLog | 1 + 1 file changed, 1 insertion(+) diff --git a/ChangeLog b/ChangeLog index 08cfbe09..1ba570eb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,6 +4,7 @@ - ban ppm max_value < 0 - add fuzz corpus to dist - detect read errors correctly in source_sniff +- fix regression in autorot [malomalo] 20/6/19 started 8.9.1 - don't use the new source loaders for new_from_file or new_from_buffer, it