Skip to content

Conversation

@BayanBennett
Copy link
Contributor

This matches the JS code

sharp/lib/resize.js

Lines 69 to 78 in 8607ff2

const kernel = {
nearest: 'nearest',
linear: 'linear',
cubic: 'cubic',
mitchell: 'mitchell',
lanczos2: 'lanczos2',
lanczos3: 'lanczos3',
mks2013: 'mks2013',
mks2021: 'mks2021'
};

@lovell lovell merged commit c01e272 into lovell:main Aug 21, 2025
56 of 58 checks passed
@lovell
Copy link
Owner

lovell commented Aug 21, 2025

Thank you!

@lovell lovell added this to the v0.34.4 milestone Aug 21, 2025
lovell added a commit that referenced this pull request Aug 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants