![]() However, in the event that you need to deliver WebP images and aren't using WordPress, then you can experiment with the following rules. For WordPress users, we recommend using the Cache Enabler plugin instead as outlined further below. Rewrite rules allow you to deliver WebP images by changing the MIME type of an image. Below is an example we grabbed from YouTube's homepage. YouTube uses WebP format in certain large thumbnails. At the time of writing this, about 95% of the images on their homepage were in the WebP format. Here is an example we grabbed from eBay's homepage. Several big names like Google, Facebook, and eBay are campaigning for the use of WebP and are even actively using it. WebP for Chrome & Opera - JPEG for all other browsers. Looking at the statistics of your own websites lets you know whether it will be worth it for your project to include images in two formats. At the moment there are two browsers that officially support the format, but soon there will be three with WebP support - if Firefox sticks to their plan. Nevertheless, it is worth it to deliver images in WebP format to the browsers named above. Internet Explorer and Safari are left out completely. Firefox has announced support for WebP images in the future and it is still being discussed in this thread. According to, at this time, Opera and Chrome support the modern image format WebP. Browser support is the biggest current disadvantage of the WebP technology. Sounds promising: higher quality than JPEGs, with much smaller files. WebP: reductions in file size of up to 80% are commonly achievable. The WebP format is a sophisticated alternative method for convenient image compression that is now entering the market. JPEG is considered outdated and too inefficient. ![]() Using GUI tool to convert WebP to JPEG/PNGįor this purpose, we will use XnConvert which is a free but not open source application.Web users well-versed in technology have surely heard of WebP - an image format developed by Google to ensure superior compression of photos. The command format is:Īn example of this command could be: dwebp example.webp -o example.png 2. To convert WebP images to JPEG or PNG, we’ll use dwebp command. ![]() ![]() The command format is like:Ĭwebp -q -o įor example, you can use the following command: cwebp -q 90 example.jpeg -o example.webp Convert WebP to JPEG/PNG We’ll use cwebp command (does it mean compress to WebP?) to convert JPEG or PNG files to WebP. Open a terminal and use the following command: sudo apt-get install webp Convert JPEG/PNG to WebP Using command line to convert WebP images in Linux There are two ways to convert WebP images in Linux:ġ. Since you are dealing with WebP images, you may want to learn about converting WebP to regular images. Make gThumb the default application for WebP images in Ubuntu Method 3: Convert WebP images to PNG and JPEG in Linux ![]() You’ll see that the WebP images are now displayed with thumbnails: Once it is installed, you don’t have to do anything else. On Arch Linux, use: sudo pacman -S webp-pixbuf-loader On Fedora, use: sudo dnf install webp-pixbuf-loader In other distributions like Fedora and SUSE, you should be able to use the package manager and install it from the distribution’s repositories. Use the following commands one by one: sudo add-apt-repository ppa:helkaluin/webp-pixbuf-loader On Ubuntu-based Linux distributions, you can install this library using a PPA. Not only it allows you to open WebP files in GNOME Image Viewer, it also displays thumbnails for WebP files in the file explorer. However, you can add WebP support by installing webp-pixbuf-loader library. Method 1: Add WebP support to GNOME Image Viewer in Ubuntu and Other Linux (Recommended)īy default, the photo viewer does not support WebP images files.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |