Page 1 of 1

Animated WEBP image format support?

Posted: Thu Jun 04, 2020 2:58 pm
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)?

Re: Animated WEBP image format support?

Posted: Thu Jun 25, 2020 2:29 pm
by xnview
yes need to be added

Re: Animated WEBP image format support?

Posted: Wed Aug 05, 2020 11:06 pm
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.

Re: Animated WEBP image format support?

Posted: Fri Sep 04, 2020 11:30 am
by archerarcher
Any news?

Re: Animated WEBP image format support?

Posted: Sat Sep 26, 2020 1:03 am
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.

Re: Animated WEBP image format support?

Posted: Thu Oct 22, 2020 12:09 am
by MeLatestWard
Hopefully something is being done on this, I desperately need some batch conversion and can't find anything else to handle it.

Re: Animated WEBP image format support?

Posted: Thu Oct 22, 2020 3:59 am
by archerarcher
Try Honeyview

Re: Animated WEBP image format support?

Posted: Tue Nov 03, 2020 9:59 pm
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.

Re: Animated WEBP image format support?

Posted: Wed Nov 11, 2020 11:02 am
by xnview
See issue for current status and some details.

Re: Animated WEBP image format support?

Posted: Mon Dec 14, 2020 2:41 pm
by xnview
This problem is supposed to be fixed in XnView MP 0.98.0. Please check and confirm the bug fix here.

Re: Animated WEBP image format support?

Posted: Mon Dec 21, 2020 7:02 pm
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

Re: Animated WEBP image format support?

Posted: Mon Feb 15, 2021 6:04 pm
by Dom8
I just downloaded again the webp addon and replaced it, but animated webp still don't work for me. :( (xnview classic)

Re: Animated WEBP image format support?

Posted: Tue Feb 16, 2021 7:02 am
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