3 ms·
> 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 abl
by fweespeech 9y ago
> 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/b32e2752d1a19dcf9b4a88945c9dc1441153f5a6/mediacrush/processing/processors.py 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.