From 3754ddb947b9ac470effc2bc04a03c5562a77423 Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Sun, 26 Nov 2017 12:01:30 +0000 Subject: [PATCH] remove centre from resize in thumbnail thanks kleis --- libvips/resample/thumbnail.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/libvips/resample/thumbnail.c b/libvips/resample/thumbnail.c index 211d09d1..babf8233 100644 --- a/libvips/resample/thumbnail.c +++ b/libvips/resample/thumbnail.c @@ -416,11 +416,8 @@ vips_thumbnail_build( VipsObject *object ) vips_thumbnail_calculate_shrink( thumbnail, in->Xsize, in->Ysize, &hshrink, &vshrink ); - /* Use centre convention to better match imagemagick. - */ if( vips_resize( in, &t[4], 1.0 / hshrink, "vscale", 1.0 / vshrink, - "centre", TRUE, NULL ) ) return( -1 ); in = t[4];