Is there a tool for creating animated WebP files which does not use GIF as source?

572 views
Skip to first unread message

Jos Hirth

unread,
Aug 25, 2014, 9:26:23 PM8/25/14
to webp-d...@webmproject.org
Gif2webp is very nice, but for lossy true-color animations I'd rather not use a super grainy 256 color GIF as input.

APNG has a tool called "apngasm" (APNG Assembler) for this. It creates APNGs from a sequences of PNG or TGA images.


Is there a similar tool for WebP?

Urvang Joshi

unread,
Aug 26, 2014, 2:55:49 AM8/26/14
to webp-d...@webmproject.org
You can use the 'webpmux' tool exactly for this purpose.

It's part of the libwebp release archives: http://downloads.webmproject.org/releases/webp/index.html

--
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 post to this group, send email to webp-d...@webmproject.org.
Visit this group at http://groups.google.com/a/webmproject.org/group/webp-discuss/.
For more options, visit https://groups.google.com/a/webmproject.org/d/optout.

Sanghoon RHO

unread,
Aug 26, 2014, 9:22:45 AM8/26/14
to webp-d...@webmproject.org
How about GUI tools.

The easiest one is,
But, windows only, korean only, 10sec only, poor options, ...

And another one is QT based open source GUI tool,
But, It's not standalone tool so you need webpmux, and poor ui, ...


2014년 8월 26일 화요일 오전 10시 26분 23초 UTC+9, Jos Hirth 님의 말:

Jos Hirth

unread,
Aug 26, 2014, 1:38:08 PM8/26/14
to webp-d...@webmproject.org
Yea, I found out that I can do that with webpmux (and how to use it), by looking at issue #195.


I actually looked at webpmux's documentation beforehand, but, at a glance, it didn't appear to be the right tool for the job:

"webpmux -- Command line tool to create WebP Mux/container file."

It also doesn't contain the words "animate", "animated", or "animation". If you google for animated webp and the like, you won't find that tool. I found it by searching the bug database.

So, there clearly is some problem with the current documentation.

Urvang Joshi

unread,
Aug 26, 2014, 6:55:00 PM8/26/14
to webp-d...@webmproject.org
Hi Jos,
Thanks for the feedback! You are indeed right about that; 'webmux' doc doesn't directly mention animation.

Would it help if (i) 'FRAME_OPTIONS' mentioned that it is for generating animated WebP images and (ii) there was some explanation to example commandlines? Any other suggestions to clarify the doc?

Thanks,
Urvang

Jos Hirth

unread,
Aug 26, 2014, 8:21:59 PM8/26/14
to webp-d...@webmproject.org
Yes, that would help a lot. That way you'd find it if you search for animated webp (etc) and Ctrl+F would lead you to the right spot.

I'd also change the one-line description of the tool. The descriptions of cwebp, dwebp, and gif2webp are very nice and precise, for example.

"Create animations by joining WebP images, extract frames from WebP animations, get/set metadata, and get/set ICC profiles"

That would work, I think. It's a bit long, but the tool just does a lot of different things.

By the way, that "This manual page documents the webpmux command."-line looks like leftover boilerplate documentation. It should be removed.

Urvang Joshi

unread,
Aug 29, 2014, 5:01:21 PM8/29/14
to webp-d...@webmproject.org
Hi Jos,
Incorporated your suggestions directly in the man page: https://gerrit.chromium.org/gerrit/#/c/71395/1/man/webpmux.1
The same will be cherry-picked into https://developers.google.com/speed/webp/docs/webpmux shortly.

Jos Hirth

unread,
Aug 30, 2014, 4:23:51 AM8/30/14
to webp-d...@webmproject.org
Thanks. That looks a lot more helpful now. Having descriptions for all those examples is also a big improvement.

This line is pretty weird though:

"\fBwebpmux\fP can be used to create/extract from animated WebP files, ..."

Well, I'm not familiar with the man page format, but is there a reason why this short description differs from the one at the beginning of the document? They are supposed to say pretty much the same thing, right?
Reply all
Reply to author
Forward
0 new messages