Add Magic Kernel Sharp (no relation) to resizing kernels

This commit is contained in:
Lovell Fuller
2025-06-15 12:53:10 +01:00
parent 8669fbc936
commit 9392b8702b
5 changed files with 10 additions and 0 deletions

View File

@@ -188,6 +188,8 @@ sharp(input)
// of the image data in inputBuffer
});
sharp(input).resize({ kernel: 'mks2013' });
transformer = sharp()
.resize(200, 200, {
fit: 'cover',