improve im_compass() back compat

This commit is contained in:
John Cupitt 2014-07-14 15:30:02 +01:00
parent c90c218db2
commit fb05cef56a

View File

@ -2315,7 +2315,7 @@ im_compass( VipsImage *in, VipsImage *out, INTMASK *mask )
im_imask2vips( mask, t1 ) ) im_imask2vips( mask, t1 ) )
return( -1 ); return( -1 );
if( vips_compass( in, &t2, t1, if( vips_compass( in, &t2, t1,
"times", 4, "times", 8,
"angle", VIPS_ANGLE45_45, "angle", VIPS_ANGLE45_45,
NULL ) ) { NULL ) ) {
g_object_unref( t1 ); g_object_unref( t1 );