Hi,
this is more a feature request. ImageMagick already supports the WebP format.
It would be great if ImageMagick would also convert an animated GIF to an animated WebP.
Example:
convert animated.gif animated.webp
Animated GIF to animated WebP
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Animated GIF to animated WebP
I do not see WebP in the list of formats, but I do not have the WebP delegate installed.
Try
convert -list format
and see what it shows for Webp. Does it include + (for multipage format)
* native blob support
r read support
w write support
+ support for multiple images
You could try
convert animated.gif -coalesce animated.webp
From the official list http://www.imagemagick.org/script/formats.php
WEBP RW Weppy image format Requires the WEBP delegate library. Specify the encoding options with the -define option See WebP Encoding Options for more details.
So you might check that to see if there is a -define that allows that.
Try
convert -list format
and see what it shows for Webp. Does it include + (for multipage format)
* native blob support
r read support
w write support
+ support for multiple images
You could try
convert animated.gif -coalesce animated.webp
From the official list http://www.imagemagick.org/script/formats.php
WEBP RW Weppy image format Requires the WEBP delegate library. Specify the encoding options with the -define option See WebP Encoding Options for more details.
So you might check that to see if there is a -define that allows that.
Re: Animated GIF to animated WebP
I have compiled IM with:
# ./configure --with-webp
results for me in:
# convert -list format | grep webp
WEBP* rw- WebP Image Format (libwebp 0.2.1)
Unfortunately no + support for multiple images
I get several single WebP images when running:
# convert animated.gif -coalesce animated.webp
Also no defines I could use from here:
http://www.imagemagick.org/script/webp.php
# ./configure --with-webp
results for me in:
# convert -list format | grep webp
WEBP* rw- WebP Image Format (libwebp 0.2.1)
Unfortunately no + support for multiple images
I get several single WebP images when running:
# convert animated.gif -coalesce animated.webp
Also no defines I could use from here:
http://www.imagemagick.org/script/webp.php
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Animated GIF to animated WebP
If none of that works, then the IM developers would have to make an enhancement to allow multiframe webp files. But they would have to comment. I know they are very busy with lots of other things including IM 7 development.
Re: Animated GIF to animated WebP
Has this been fixed?
I can reduce jpgs 3x smaller using webp. I wish to also use webp on my animated radars.
Fixing animated webp could save me 200 megs a month on my data plan.
I can reduce jpgs 3x smaller using webp. I wish to also use webp on my animated radars.
Fixing animated webp could save me 200 megs a month on my data plan.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Animated GIF to animated WebP
You can convert jpg to webp and save that format according to
WEBP* WEBP rw- WebP Image Format (libwebp 0.6.0[0208])
But you need the libwebp delegate installed.
The issue mentioned above was to create multipage/multilayer/multiframe webp files. ImageMagick apparently does not support that since the listing does not say rw+ (indicated by the +).
According to https://en.wikipedia.org/wiki/WebP
"Amongst web browsers, Google Chrome, Opera and Pale Moon natively support WebP while Mozilla has announced plans to implement WebP natively in Firefox.[19][20][21][22] All WebM-compatible browsers can also display WebP via a JavaScript shim.[23][24] WebP can also be displayed in all major browsers using the WebPJS JavaScript library, although support in Internet Explorer 6 and above is achieved using Flash.[25]"
Code: Select all
convert -list format
But you need the libwebp delegate installed.
The issue mentioned above was to create multipage/multilayer/multiframe webp files. ImageMagick apparently does not support that since the listing does not say rw+ (indicated by the +).
According to https://en.wikipedia.org/wiki/WebP
"Amongst web browsers, Google Chrome, Opera and Pale Moon natively support WebP while Mozilla has announced plans to implement WebP natively in Firefox.[19][20][21][22] All WebM-compatible browsers can also display WebP via a JavaScript shim.[23][24] WebP can also be displayed in all major browsers using the WebPJS JavaScript library, although support in Internet Explorer 6 and above is achieved using Flash.[25]"
Re: Animated GIF to animated WebP
Yes, I know I can convert to web P, however, I cannot do animations. There is another program out there, implemented by Google, but it looks like it only runs on Linux. I am still stuck.