fix regression in autorot
we were writing the wrong image to the output, thanks malomalo see https://github.com/libvips/ruby-vips/issues/226
This commit is contained in:
parent
b3a7929247
commit
f24a4a273a
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user