The difference is mostly for animated files.
webpmux is meant to manipulate frames as binary blobs. In particular, since animated WebP format is based on transmitting the area that changed between frames, the content of these blobs can be surprisingly strange-looking deltas.
Conversely, img2webp will take care of calculating these deltas for you, with some optimization (thanks to the WebPAnimEncoder object and API). You don't have to manipulate the deltas directly, but start from the images themselves.
But in the end, the resulting webp files can be very similar.
hope it helps!
skal/
Bests, Zeki
--
You received this message because you are subscribed to the Google Groups "WebP Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webp-discuss...@webmproject.org.
To view this discussion on the web visit https://groups.google.com/a/webmproject.org/d/msgid/webp-discuss/d73ada62-0551-4bb3-97da-7e996f0f342dn%40webmproject.org.