How to make Ubuntu system support WEBP image format
This article mainly introduces how to make Ubuntu system support to view WebP picture format, and how to convert WebP to JPEG or PNG image format.
What is a webp picture
Google has developed and launched the WebP image format for more than 5 years, and WebP can provide lossy and lossless compression of images. According to the official claim, the same image compression, the average will be 25% smaller than the JPEG volume.
Google was ambitious to make WebP a new standard for Internet image compression technology, but after 5 years, WebP in addition to Google's own ecosystem to become the standard, as well as some international stations and some technologically advanced sites in use, we do not see it is widely popular. But Google itself is still sparing no effort to push, for example, a few months ago, Google Plus's image into the WebP.
If you use Google Chrome to download images from some major stations or Google Plus to the WebP format, the following error will be reported when you open with the default GNOME image viewer in Ubuntu:
Unable to load image XXXX.
Unrecognized inage file format
To solve these problems, we will introduce the following 4 aspects:
- How to add WEBP support in Linux
- Support WebP pictures in the application list
- How to convert a WebP image to PNG or JPEG
- How to download directly to a PNG image
view WEBP images directly in Ubuntu or other Linux
As we have already said, "gnome image Viewer" as the default image browser for Ubuntu and many other Linux desktops, it does not support WebP images, and there is no good plugin that allows it to support WebP directly. However, we have strongly recommended GTHUMB image management tools directly support WebP, recommend everyone to try.
Ubuntu or derivative version of the user can use the apt-get install gthumb installation, installed, you can open the WEBP image directly.
If you like me as much as gthumb, you can set it directly to the default open app for WEBP files by following these steps:
1. Right-click any. WEBP formatted file-select properties from the popup shortcut menu
2. Select Gthumb in the list on the "Open with" tab, then click "Set as Default".
GTHUMB provides more features than other image viewers, such as the ability to edit images, add color filters, and resize pictures in batches, although not as professional as Xnretro, but it's enough to cope with everyday use. If you want to learn more about the best photo management software available in Linux, check out our previous introductory article.
If it's unfortunate that people don't like it? Gthumb, you can also try to install the following software in Lninux, which supports direct open WEBP:
- XnView (not open source)
- GIMP can also be supported by third-party WEBP plug-ins, which can be referenced in this PPA
- Gwenview
Convert a WEBP image to PNG or JPEG
There are two ways to convert a WebP image to PNG or JPEG in Linux using a command tool or a graphics tool , which we will describe separately.
using the command line to convert WEBP
1. Install the WebP tool in the terminal using the following command:
sudo apt - Get Install WEBP
2. You can convert JPG or PNG to WEBP using the following command:
-[image quality][JPEG/PNG file name]- [WebP file name]
3. use the following command or convert the WEBP image to PNG:
[WebP file name] - [PNG file name]
using the graphical interface tool to convert WEBP
If you find the command cumbersome, you can also use Xnconvert, a free but open source graphical interface tool for format conversion:
Xnconvert is also very powerful and you can use it to resize the image in batches, this section we'll just see how it uses it to convert the WebP picture to Png/jpeg.
1. Open Xnconvert and add the file or folder you want to convert in input
2. Specify the export path in the Output tab-select the desired target type in the many formats of the format drop-down list-then click the "Convert" button to convert it in bulk.
download WEBP directly as a PNG image
If you do not want to install any software, and do not want to download WebP format pictures, in fact, we can also use the Chrome plug-in way to save the picture in the page as a PNG format. This method is especially suitable for designers who want to play a variety of materials often and are struggling with format conversion, and lazy bird users like me. Install the Save Image as PNG plugin in the Chrome store directly via the link below:
Save Image as PNG
How to make Ubuntu system support WEBP image format
How to make Ubuntu system support WEBP image format