Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is sharp compatible? #39

Open
igor-koop opened this issue Dec 28, 2024 · 0 comments
Open

Is sharp compatible? #39

igor-koop opened this issue Dec 28, 2024 · 0 comments

Comments

@igor-koop
Copy link

Hello, the adapter seems to have the isSharpCompatible flag set to false in index.ts file. This results in an error message from Astro when used with the Image component from astro:assets.

Despite this, the package appears to be fully functional in Deno from sharp v0.33.0 with the --allow-ffi flag. This is something I could gather from multiple discussion threads (#1 and #2) and confirm with a crude testing.

This makes me wonder if sharp is indeed compatible or whether Astro users should resort to an alternative image service configuration, and if latter, which one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant