Skip to content

Types: add "linear" to KernelEnum#4441

Merged
lovell merged 1 commit intolovell:mainfrom
BayanBennett:patch-1
Aug 21, 2025
Merged

Types: add "linear" to KernelEnum#4441
lovell merged 1 commit intolovell:mainfrom
BayanBennett:patch-1

Conversation

@BayanBennett
Copy link
Copy Markdown
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
Copy Markdown
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

2 participants