For example I have a folder called Images and there are 26 folders inside is a,b,c,d contains multiple images each in different format jpg,png,jpeg. How to convert all those images to webp and deleted the originals or else copy converted files to another location with same subfolder name.
I very recently installed Ubuntu 20.04 on my laptop and have been having this issue where I can't open most of the images I have saved. I get an error that says
Unrecognized Image File Format
(but they are literally just jpgs and PNGs).
I've tested the images by moving them to my thumb drive and then my Windows PC and they open up fine. I can also select Open with Firefox and that works but it's inconvenient. I've attempted to rename them and have the same issue. I've tried updating, upgrading, rebooting, and opening the images from the terminal and still I can't open some dumb wallpaper I saved from reddit.
How do I go about fixing this?
Update:
so I was able to figure this out, as it turns out these were webp images, which is odd because they all saved under .jpg or even .png without me intervening. So I've installed something that can view them properly, but there's still an issue. If I were to link an image in an email or on a website or something I won't be able to actually see what it is I'm linking unless I were to open up in a separate window first. So I'm unsure what to do about that.
source: OP's comment
I would like to convert an animated WebP file to a WebM. However, most tools only support converting to an animated WebP but not back, when they support animated WebPs at all: ImageMagick's convert
does not support animated WebP, ffmpeg
does not support animated WebP, and webpmux
only supports extracting a single frame at a time (as far as I can tell).
How can I go about making that conversion?