0

I'm trying to convert .jpg images to webp format.

I have site in WordPress, and I need to add webp to my images. I read https://developers.google.com/speed/webp/ but it does not work for me.

And I tried using https://wordpress.org/plugins/wp-webp/ but that also does not work.

And I tried this article, also doesn't work http://www.wpexplorer.com/webp-files-wordpress/

Can anyone help me?

  • 1
    What have you tried so far? Any code examples? – Al0x Nov 27 '17 at 14:11
  • i use above plugin – The 15 Seconds Nov 27 '17 at 14:33
  • people will need a better definition of your problem than "not working". – ADyson Nov 27 '17 at 15:01
  • 1
    Welcome to Stack Overflow! I have edited your question. You are showing what you've tried, that's great! However, the only thing you tell us about the result is "does not work". That's not telling us much. You could further improve your question by editing it yourself. Explain the techniques in these articles, so the question does not rely on the links. And then explain _how_ these techniques failed - what happened when you tried them. – S.L. Barth is on codidact.com Nov 27 '17 at 15:24
  • If your question tells us in more detail what you've tried - then it is also more likely that search engines will pick up your question. In this way, people with the right knowledge have a better chance of finding your question. – S.L. Barth is on codidact.com Nov 27 '17 at 15:27
  • How do you know it doesn't work? – ProEvilz Nov 27 '17 at 16:17

2 Answers2

1

apt get install moreutils

apt get install parallels

parallel -eta cwebp {} -o {.}.webp ::: *.jpg

works with *.png too 100000 images at the time if you want

One image at the time can be done with cwebp -q 100 image1.jpg -o image1.webp

Sorry got this from another thread but he missed a dot before webp

0

To convert images from WebP format into JPG and PNG format you can use WebPconv 6.0 (Windows only).

It's a free app and you can find it here.