Animated WEBP image format support?

Reported bugs that have been closed and/or resolved

Moderators: XnTriq, helmut, xnview, Dreamer

Post Reply
Litr
Posts: 66
Joined: Wed Oct 12, 2011 9:26 pm

Animated WEBP image format support?

Post by Litr »

Hello!
Recently i found that XnView MP cannot show me animated images with WEBPVP8X ANIM ANMF headers. This format is quite popular on, ahem, very interesting sites.

I have decided to go deeper and converted one GIF to Animated WebP format using the first site i found https://ezgif.com/webp-maker and here are my results.

So far i tested these settings, and XnView MP cannot show none of these WEBP animations, not even a single frame:

https://ezgif.com/gif-to-webp lossy-flag-off (VP8L - lossless)
RIFFB㄀㄀WEBPVP8X
㄀㄀㄀㄀㄀㄀㄀㄀ANIM㄀㄀㄀LRUÿ㄀㄀ANMF¢㄀㄀㄀㄀㄀㄀㄀㄀㄀㄀,㄀VP8LŠ

https://ezgif.com/gif-to-webp lossy-flag-on (VP8 - PNG-like format?)
RIFF˜0㄀㄀WEBPVP8X
㄀㄀㄀㄀㄀㄀㄀㄀ANIM㄀㄀㄀LRUÿ㄀㄀ANMF4㄀㄀㄀㄀㄀㄀㄀㄀㄀㄀,㄀VP8

https://ezgif.com/gif-to-webp mixed-flag-on (i dont know why, but it produces files that are binary identical to lossy-flag-off)

https://ezgif.com/webp-maker/ webp-maker-no-flags (VP8 - JPEG-like format?)
RIFF8J㄀㄀WEBPVP8X
㄀㄀㄀㄀㄀㄀㄀㄀ANIM㄀㄀㄀ÿÿÿÿ㄀㄀ANMFB㄀㄀㄀㄀㄀㄀㄀㄀㄀㄀,㄀㄀VP8

You can download these WEBP sample files in Attachments section, since this forum does not allow me to upload them

Also you can open all of these WEBP samples in the latest stable versions of Mozilla Firefox and Google Chrome browsers. So it must be related some kind of image library, right?

Please, can you change/update that image library in XnView MP to support animated WEBP image format(s)?
Attachments
WEBP ANIM.zip
Animated WEBP samples + GIF
(68.36 KiB) Downloaded 107 times
Source GIF
Source GIF
GIF.gif (470.22 KiB) Viewed 6135 times
User avatar
xnview
Author of XnView
Posts: 43598
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Animated WEBP image format support?

Post by xnview »

yes need to be added
Pierre.
MeLatestWard
Posts: 3
Joined: Wed Aug 05, 2020 10:53 pm

Re: Animated WEBP image format support?

Post by MeLatestWard »

Registered and posting just to voice my support for this feature. I recently discovered several months of my saved images are this format despite being labeled gif and png.

Your software is a lifesaver. Keep it up!! And thanks to Litr for posting an example file.
archerarcher
Posts: 6
Joined: Fri Jan 03, 2020 4:48 am

Re: Animated WEBP image format support?

Post by archerarcher »

Any news?
Litr
Posts: 66
Joined: Wed Oct 12, 2011 9:26 pm

Re: Animated WEBP image format support?

Post by Litr »

Hmm, I can see some progress...
XnView 0.97 is showing the first frame (first page) and it can also display the following static frames if you navigate through them manually (< > buttons or menu items), but still not playing the animation. I've tried all four test files attached to the first post.
MeLatestWard
Posts: 3
Joined: Wed Aug 05, 2020 10:53 pm

Re: Animated WEBP image format support?

Post by MeLatestWard »

Hopefully something is being done on this, I desperately need some batch conversion and can't find anything else to handle it.
archerarcher
Posts: 6
Joined: Fri Jan 03, 2020 4:48 am

Re: Animated WEBP image format support?

Post by archerarcher »

Try Honeyview
MeLatestWard
Posts: 3
Joined: Wed Aug 05, 2020 10:53 pm

Re: Animated WEBP image format support?

Post by MeLatestWard »

Hey folks, managed to convert my images easily with the "mogrify" command in imagemagick. In my case I had multiple animated and non-animated WebPs masquerading as other formats. It went like this:

Backup image directory
Make new folder where the problematic files will be put
Find the problematic files by sorting in Explorer by Dimensions, and selecting the files that have no dimensions listed.
Copied those files to the new folder for conversions
Open a command line
cd to the new folder
Run a mogrify command for each type of file.
So for example:

Code: Select all

mogrify.exe  -define preserve-timestamp=true -format gif *.gif
mogrify.exe  -define preserve-timestamp=true -format png *.png
mogrify.exe  -define preserve-timestamp=true  -format jpg *.jpg *.jpeg
If you're getting "mogrify.exe is not recognized..." errors then put the full path to the exe. Such as "C:\Program Files\ImageMagick-7.0.10-Q16-HDRI\mogrify.exe" quotes included.
If you are not familiar with the terminal, the * is a wildcard match. So *.jpg means every filename with .jpg in it, *.gif means every filename with .gif, etc.
User avatar
xnview
Author of XnView
Posts: 43598
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Animated WEBP image format support?

Post by xnview »

See issue for current status and some details.
Pierre.
User avatar
xnview
Author of XnView
Posts: 43598
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Animated WEBP image format support?

Post by xnview »

This problem is supposed to be fixed in XnView MP 0.98.0. Please check and confirm the bug fix here.
Pierre.
Litr
Posts: 66
Joined: Wed Oct 12, 2011 9:26 pm

Re: Animated WEBP image format support?

Post by Litr »

xnview wrote: Mon Dec 14, 2020 2:41 pm This problem is supposed to be fixed in XnView MP 0.98.0. Please check and confirm the bug fix here.
I confirm this!
Thank you very much! :P
Dom8
Posts: 1
Joined: Mon Feb 15, 2021 6:02 pm

Re: Animated WEBP image format support?

Post by Dom8 »

I just downloaded again the webp addon and replaced it, but animated webp still don't work for me. :( (xnview classic)
User avatar
xnview
Author of XnView
Posts: 43598
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Animated WEBP image format support?

Post by xnview »

Dom8 wrote: Mon Feb 15, 2021 6:04 pm I just downloaded again the webp addon and replaced it, but animated webp still don't work for me. :( (xnview classic)
Supported in XnView MP not Classic
Pierre.
Post Reply