![]() ![]() XnConvert is a fast, powerful, and free multi-platform batch image converter that runs on Linux, Windows, and MacOS. $ cwebp -sns 80 -f 50 -size 60000 image.png -o image.webpįor more information, check the man page for cwebp: $ man cwebpĬonvert WebP Images to PNG or JPEG Using XnConvert $ cwebp -q 80 image_with_alpha.png -o image_with_alpha.webp Here are more examples: $ cwebp -q 60 -lossless image.png -o image_lossless.webp In this example, the -q flag is used to define the image quality: $ cwebp -q 90 Selection_603.png -o Selection_603.webp To convert a PNG/ JPEG image file to a Webp file, use the cwebp utility. The following is an example where the -o flag specifies the output filename: $ dwebp image.webp -o image.pngįor more information, check the man page for dwebp: $ man dwebpĬonvert PNG or JPEG to WebP Using cwebp Utility If the installation is successful, you should now have a utility called dwebp (which is part of libwebp) that you can use to convert. To convert/decompress a Webp file into a PRN/JPEG image format on the command-line interface, you need to install the webp package as shown. Convert WebP Images to PNG or JPEG Using dwebp Utility Note that if you intend to convert your images from PNG and JPEG to webp format, you can use the dwebp or cwebp conversion tools as described below. Now you should be able to open and view your WebP images. Then click OK, as highlighted in the following screenshot. webp image is, right-click on it, then go to Open with, and click Other application.įrom the list of applications, search for gThumb and set it as the default application for opening and viewing Webp files/images. Once the package is installed, locate where the. You can install it on your Linux distribution using your package manager as shown: $ sudo apt install gthumb GThumb is an image viewer and browser for the GNOME environment that comes with Webp support. View WebP Image in Linux View WebP Images Using gThumb Image Viewer in Linux Open WebP Image in LinuxĪfter opening the image, you should be able to view it without any error as shown in the following screenshot. To test if the package is working, open the default image viewer on your Ubuntu or Linux mint desktop and view a webp image with it. On Arch Linux, issue the following command: $ sudo pacman -S webp-pixbuf-loader On RHEL and other enterprise Linux distributions, enable the EPEL repository, then install it as follows: $ sudo yum install epel-release On Fedora, users should run the following command to install it: $ sudo dnf install webp-pixbuf-loader $ sudo add-apt-repository ppa:helkaluin/webp-pixbuf-loader On Ubuntu-based distributions, run the following command to add the PPA ( Personal Package Archive) to your system, then update the APT package manager’s package cache to pick the list of the latest software within configured repositories in the system and install the package.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |