Skip to content

Add support for sharpResizeOptions#322

Merged
zachleat merged 1 commit into11ty:mainfrom
lastguru-net:main
Apr 24, 2026
Merged

Add support for sharpResizeOptions#322
zachleat merged 1 commit into11ty:mainfrom
lastguru-net:main

Conversation

@lastguru-net
Copy link
Copy Markdown
Contributor

Adds support for passing Sharp resize options. Notably, since Sharp now supports "Magic Kernel Sharp" downsizing kernel, that is more computationally efficient than the default Lanczos-3 kernel, it may be beneficial to be able to choose the algorithm.

@zachleat zachleat merged commit 7fcfaea into 11ty:main Apr 24, 2026
@zachleat zachleat added this to the Eleventy Image v7.0.0 milestone Apr 24, 2026
@zachleat
Copy link
Copy Markdown
Member

Shipping with v7.0.0-alpha.3 thank you!

zachleat added a commit that referenced this pull request Apr 24, 2026
This reverts commit 7fcfaea, reversing
changes made to a9b9c17.
@zachleat
Copy link
Copy Markdown
Member

Unfortunately I did have to revert this one post-merge because it invalidated all of our hash filenames, so this would need to be a breaking change. Can you reopen as a new PR? I can’t reopen this one, sorry :(

@zachleat zachleat removed this from the Eleventy Image v7.0.0 milestone Apr 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants