diff --git a/package.json b/package.json index 4c6e750f..dc159998 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ "mocha": "^2.3.4", "mocha-jshint": "^2.2.5", "node-cpplint": "^0.4.0", - "rimraf": "^2.4.3", + "rimraf": "^2.4.4", "bufferutil": "^1.2.1" }, "license": "Apache-2.0", diff --git a/src/pipeline.cc b/src/pipeline.cc index 8aa001bb..53441f92 100644 --- a/src/pipeline.cc +++ b/src/pipeline.cc @@ -549,10 +549,8 @@ class PipelineWorker : public AsyncWorker { vips_object_local(hook, interpolator); // Use average of x and y residuals to compute sigma for Gaussian blur double residual = (xresidual + yresidual) / 2.0; - // Apply Gaussian blur before large affine reductions with non-linear interpolators - if (residual < 1.0 && ( - baton->interpolator == "bicubic" || baton->interpolator == "lbb" || baton->interpolator == "nohalo" - )) { + // Apply Gaussian blur before large affine reductions + if (residual < 1.0) { // Calculate standard deviation double sigma = ((1.0 / residual) - 0.4) / 3.0; if (sigma >= 0.3) {