You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been using squoosh for webp, jpeg, and png optimization since those features were added. It supports only Node.js today, and only versions <18, but the hope originally was that Squoosh would add in-browser support and maybe eventually Basis compression. I no longer think either of those things will happen, and since Squoosh seems to be unmaintained (causing errors in latest Node.js LTS), it's time to switch.
The library will begin using Sharp (https://sharp.pixelplumbing.com/) for these operations instead, unless I find something better. Being able to support these features on the web would be great, but I don't see a maintained alternative for it, short of forking Squoosh.
This might also be a good time to update the image resizing code, or provide an alternative.
One bit of good news is that Sharp uses libvips as its image processing engine, and there is an unofficial WASM build that works on web, excluding Safari. Probably too early to pull that WASM build in here, but maybe possible to support running things on the web down the road this way too.
I've been using squoosh for webp, jpeg, and png optimization since those features were added. It supports only Node.js today, and only versions <18, but the hope originally was that Squoosh would add in-browser support and maybe eventually Basis compression. I no longer think either of those things will happen, and since Squoosh seems to be unmaintained (causing errors in latest Node.js LTS), it's time to switch.
The library will begin using Sharp (https://sharp.pixelplumbing.com/) for these operations instead, unless I find something better. Being able to support these features on the web would be great, but I don't see a maintained alternative for it, short of forking Squoosh.
This might also be a good time to update the image resizing code, or provide an alternative.
Related issues:
The text was updated successfully, but these errors were encountered: