-
Notifications
You must be signed in to change notification settings - Fork 2
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
Sharp #23
Comments
https://deno.land/x/imagescript although quite low level |
Yes, I tested it but it's very limited. For resizing it only support nearest neighbor interpolation, that produces low quality results (pixelated images). The v2 looks promising but it will take a while to be released. |
See also: lovell/sharp#1476, libvips/libvips#192, kleisauke/wasm-vips#1 TLDR: Sharp uses libvips which uses a lot of native stuff. It's been ported to WebAssembly using Emscripten but not yet stable. I think the best approach would be for Sharp to be compatible with WebAssembly so that it can be used anywhere WASM is supported, not just (but including) Deno, also since the FFI API is not yet stable and would require downloading platform & arch-specific binaries which can get messy... |
That's interesting! FYI, I'm using https://github.com/lumeland/imagemagick-deno, a port to make https://github.com/dlemstra/magick-wasm working with Deno. |
As reported in here, this is the current installation experience:
|
For those who hadn't seen, Deno (with |
Thanks, @lovell. There's still a minor issue but seems a bug on N-API implementation by Deno: |
Actually not so minor as you're stuck with v1.38.5 if using Sharp |
I miss a good image processing library like sharp: lovell/sharp#2583
There's an alternative based on imagick (https://github.com/lumeland/imagemagick-deno) but it's a bit slow.
The text was updated successfully, but these errors were encountered: