What is the Difference between Mux and AnimatedWebP

11 views
Skip to first unread message

zek

unread,
Nov 28, 2021, 5:37:43 PM11/28/21
to WebP Discussion
Hello Everyone;

I am curious, is there any vital difference between files that i created with img2webp with webpmux. Considering all the frames are the same and the durations are the same, i can not grasp the difference between that 2 generated webp file. Anyone has idea about this?

Bests, Zeki

Pascal Massimino

unread,
Nov 29, 2021, 8:47:48 AM11/29/21
to WebP Discussion
Hi Zeki,

On Sun, Nov 28, 2021 at 11:37 PM zek <zekib...@gmail.com> wrote:
Hello Everyone;

I am curious, is there any vital difference between files that i created with img2webp with webpmux. Considering all the frames are the same and the durations are the same, i can not grasp the difference between that 2 generated webp file. Anyone has idea about this?


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.

zek

unread,
Nov 30, 2021, 7:49:42 PM11/30/21
to WebP Discussion, pascal.m...@gmail.com
Hi Pascal(/skal)

Thanks for the clarification. It seems img2webp looks like a way to go for me. Thanks again

Bests, Zek

Reply all
Reply to author
Forward
0 new messages