News for hackers. Stuff that matters.
Re:Ask HN: Best Self-Hosted, Server-Side Image Optimization ... by fweespeech on Thursday June 22, 2017 @11:20AM (#14612833)
> What is the most complete solution you are aware of that compresses & optimizes png, jpeg, and webp and can be operated on a server? It should not only be able to optimize as part of the build process but also in response to user-generated content.

Tbh the UGC side is just triggering the "build process side" as the upload occurs.

As far as best,

https://github.com/MediaCrush/MediaCrush/blob/b32e2752d1a19d...

I'd suggest you look there for some decent examples of how to go about it. They may be defunct but I use a similar approach (slightly different knob tweaks with the same binaries) and it works fine. May not be 100% optimal but its good enough imo.

There are no comments on this comment yet.