I have many webp format images in a folder but with .jpg
extension like
abc-test.jpg
It's a webp
format image. I want it to convert in .png
format with same name for that I have used this command and it worked
find . -name "*.jpg" -exec dwebp {} -o {}.png \;
It converted all webp
images to .png
but the issue is it's saving images like this:
abc-test.jpg.png
But my requirement is to save it without .jpg
extension like
abc-test.png
sudo aptitude install parallel webp
. And for webp files with the correct extension, simply doparallel dwebp {} -o {.}.png ::: *.webp
. – Vespine