CLI command to convert Webp image(s) to JPG? [closed]

Use ImageMagick v7:

magick input.webp output.jpg

Or ImageMagick v6:

convert input.webp output.jpg

If you have lots to do, use mogrify instead. So, say you want to convert all the WEBP images in the current directory to JPEG:

magick mogrify -format JPEG *.webp

And if you want the converted files in a directory called OUTPUT, use:

mkdir OUTPUT
magick mogrify -format JPEG -path OUTPUT *.webp

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)