Convert all jpg images to webp Magick

Viewed 1414

how can I convert almost all images from jpg format to webP format if they are already on the server? I used the command

magick convert. * jpg .webp

but I don't think it's ok because it would create images over them. How should we proceed as correctly as possible so as not to duplicate the images?

Is there an easier way to do this since I have all the images on the server?

0 Answers
Related