Comments on: How to Convert Images to WebP Format in Linux https://www.tecmint.com/convert-images-to-webp-format-in-linux/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Thu, 13 Jul 2023 19:21:38 +0000 hourly 1 By: Zakhar https://www.tecmint.com/convert-images-to-webp-format-in-linux/comment-page-1/#comment-1930626 Thu, 15 Dec 2022 10:37:31 +0000 https://www.tecmint.com/?p=28316#comment-1930626 All files are in a folder.

# for f in ./*.png; do cwebp -q 80 $f -o ${f:0:`expr length "$f"`-3}webp; done

]]>
By: Aaron Kili https://www.tecmint.com/convert-images-to-webp-format-in-linux/comment-page-1/#comment-1825222 Tue, 14 Jun 2022 10:38:51 +0000 https://www.tecmint.com/?p=28316#comment-1825222 In reply to User.

@User

Many thanks for sharing this, we shall check it out.

]]>
By: User https://www.tecmint.com/convert-images-to-webp-format-in-linux/comment-page-1/#comment-1821887 Thu, 09 Jun 2022 12:37:09 +0000 https://www.tecmint.com/?p=28316#comment-1821887 Thanks, here is an attempt to automate the conversion for all images in a dir – https://github.com/slrslr/Miscellaneous-bash-scripts/blob/master/convertimagestowebp

It would be good if they allow "cwebp -q 80 *" or "cwebp -q 80 ./ -o webps/" – similar.

]]>
By: Aaron Kili https://www.tecmint.com/convert-images-to-webp-format-in-linux/comment-page-1/#comment-1331752 Mon, 04 May 2020 16:49:09 +0000 https://www.tecmint.com/?p=28316#comment-1331752 In reply to Bicyu.

@Bicyu

Many thanks for sharing. We are grateful. We will check out kolourpaint.

]]>
By: Bicyu https://www.tecmint.com/convert-images-to-webp-format-in-linux/comment-page-1/#comment-1331336 Sat, 02 May 2020 06:31:31 +0000 https://www.tecmint.com/?p=28316#comment-1331336 Hello, obviously a lot of thought and time has gone into this post- and I know it is a little old now [2020] Thanks for that.

However, for those who want a quick and not so dirty Ubuntu solution, find kolourpaint in the Ubuntu software folder, install it and select your image of choice.

Open with kolourpaint and select “save as”.

In the file drop-down select jpeg or png if you want to go FROM webp format.

Bingo! Job has done, easy, quick, no command line.

Works t’other way round too if you want to convert your png etc files to webp.

Maybe kolourpaint is also available for other Linux distros as well or your existing paint, image app might even do the same?

I hope this helps some people.
Bicyu.

]]>