mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 07:15:08 +01:00
Add Magic Kernel Sharp (no relation) to resizing kernels
This commit is contained in:
@@ -188,6 +188,8 @@ sharp(input)
|
||||
// of the image data in inputBuffer
|
||||
});
|
||||
|
||||
sharp(input).resize({ kernel: 'mks2013' });
|
||||
|
||||
transformer = sharp()
|
||||
.resize(200, 200, {
|
||||
fit: 'cover',
|
||||
|
||||
Reference in New Issue
Block a user