skip to Main Content

Convert PNG Images To WebP Images Losslessly Using cweb in GNU/Linux 

July 14, 202530 second read

Last updated on October 18, 2024

To losslessly convert a PNG image to a WebP image on GNU/Linux, run the following command:

cwebp -z 9 input.png -o output.webp

9 indicates the best effort to compress the image, resulting in the smallest image size. You can replace 9 with a smaller number if you prefer a less aggressive compression effort.

If you haven’t installed cwebp yet, it is available in the webp package in Debian and Ubuntu.

The post Convert PNG Images To WebP Images Losslessly Using <code>cweb</code> in GNU/Linux appeared first on Top Bug Net.

 

Web Developer, Web Design, Web Builder, Project Manager, Business Analyst, .Net Developer

No Comments

This Post Has 0 Comments

Leave a Reply

Back To Top