Webp is an image format that uses the keyframe encoding algorithm of VP8 videos. Similar things exist for AV1 (avif) and h265 (heif).

Today I found out that webp also supports animation. So how do you add animation support to a format derived from a video codec?

Yes, you guessed it right, by combining multiple single-image webp data into a container format.

Follow

@wolfpld It sounds silly, but it makes sense. I used it in a stop motion game where frame deltas are usually rather high and liked it. Self-contained animations in a well-known file format with simple decoding API, ability to tweak compression strength per frame (including mixed lossy and lossless frames), disposal, blending and alpha channel... If what you want is a short video, you can just use short videos instead.

Sign in to participate in the conversation
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml