Add support for the "nearest" kernel for image reductions (#732)

This commit is contained in:
Alice Monday
2017-03-14 03:29:23 -07:00
committed by Lovell Fuller
parent 8b5d8a0577
commit 72f69dda30
3 changed files with 7 additions and 1 deletions

View File

@@ -8,6 +8,7 @@ const fixtures = require('../fixtures');
describe('Interpolators and kernels', function () {
describe('Reducers', function () {
[
sharp.kernel.nearest,
sharp.kernel.cubic,
sharp.kernel.lanczos2,
sharp.kernel.lanczos3