-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Release codecs on NPM #280
Comments
Yeah, this is a good idea & something we planned from the start. The codecs are currently in their own folders and with their own readmes. We just need to figure out the best way to extract them and provide them separately. |
Thanks for the quick reply, looking forward to it then :) Is there anything I can help with ? P.S. Thanks for everything you presented at Chrome Dev Summit, didn't watch everything yet, still catching up :) |
Yeah @jakearchibald and @surma are working on this! you know jake today i've been to visit one of our clients (top fashion brand) doing a speach about service worker PWA ... :) |
Nothing yet? 😢 |
Posted a dupe feature request (#684), apologies... Notes from my dupe.
|
Would still love to see some traction on this... surprised nothing has been done as of yet. |
any news? |
I have a use case where we let users upload png files from the browser to a server. I would love to be able to run oxipng over it on the client side for some free space saving before sending :) |
Ah the codecs are all already available as separate projects right here in the repo: The oxipng one also has a package.json and seems almost ready to just upload to npm. Should be able to just copy/paste into your own project for now: Example usage right here: |
here is addon package copy of mozjpeg (c++ code copy from squoosh), can be used in node / electron |
Hi,
do you consider releasing the codecs ( optiping / mozjpeg ...) as npm packages ?
I've tried to build them myself in the past but failed to do so.
I use imagemin in my toolbelt to compress images at build time, but as it relies on binaries downloaded on install, it's very painful on a corporate environment without internet access on build machines.
I'm pretty sure more people than just me would be interested in such a feature : imagemin/optipng-bin#71
The text was updated successfully, but these errors were encountered: