<span id="Label3"></p><p><p></p></p><p><p>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.</p></p><strong><strong>What is a webp picture</strong></strong><p><p>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.</p></p><p><p>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.</p></p><p><p>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:</p></p><p><p></p></p><p><p></p></p> <blockquote> <blockquote> Unable to load image XXXX. <br>Unrecognized inage file format <p> </p> </blockquote> </blockquote><p><p>To solve these problems, we will introduce the following 4 aspects:</p></p> <ol> <ol> <li>How to add WEBP support in Linux</li> <li>Support WebP pictures in the application list</li> <li>How to convert a WebP image to PNG or JPEG</li> <li>How to download directly to a PNG image</li> </ol> </ol><strong><strong>view WEBP images directly in Ubuntu or other Linux</strong></strong><p><p>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.</p></p><p><p>Ubuntu or derivative version of the user can use the <span class="red-code">apt-get install gthumb</span> installation, installed, You can open the WEBP image directly.</p></p><p><p></p></p><p><p>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:</p></p><p><p><span class="post-step">1.</span> <strong>Right-click</strong> any. WEBP formatted file-select <strong>Properties</strong> from the popup shortcut menu</p></p><p><p><span class="post-step">2.</span> Select Gthumb in the list on the "open with" tab, then click "set as Default".</p></p><p><p></p></p><p><p>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.</p></p><p><p>If unfortunately people do not like gthumb, you can also try to install the following software in lninux, they support the direct open webp:</p></p> <ol> <ol> <li>XnView (not Open Source)</li> <li>GIMP can also be supported by Third-party WEBP plug-ins, which can be referenced in this PPA</li> <li>Gwenview</li> </ol> </ol><strong><strong>Convert a WEBP image to PNG or JPEG</strong></strong><p><p>There are two ways to convert a WebP image to PNG or JPEG in Linux using a <strong>command tool</strong> or a <strong>graphics tool</strong> , which we will describe separately.</p></p><span style="color: #1e1e1e; letter-spacing: 2px; border-left: #FF3030 3px solid; border-right: #FF3030 3px solid; padding-left: 8px; padding-right: 8px; font-size: 12pt;"><span style="color: #1e1e1e; letter-spacing: 2px; border-left: #FF3030 3px solid; border-right: #FF3030 3px solid; padding-left: 8px; padding-right: 8px; font-size: 12pt;"><strong>using the command line to convert WEBP</strong></span></span><p><p><span class="post-step">1.</span> Install the WebP tool in the terminal using the following command:</p></p><pre class="prettyprint"><pre class="prettyprint"><span class="pln">sudo apt</span> <span class="pun">-</span> <span class="kwd">Get</span> <span class="pln">Install WEBP</span></pre></pre><p><p><span class="post-step">2.</span> You can convert JPG or PNG to WEBP using the following command:</p></p><pre class="prettyprint"><pre class="prettyprint"><span class="pln"></span><span class="pun">-</span><span class="pln"></span><span class="pun">[image quality]</span><span class="pun">[</span><span class="pln">JPEG</span><span class="pun">/</span><span class="pln">PNG</span> <span class="pun">file name]</span><span class="pun">-</span> <span class="pln"></span> <span class="pun">[</span><span class="typ">WebP</span> <span class="pun">file name]</span></pre></pre><p><p><span class="post-step">3.</span> Use the following command or convert the WEBP image to PNG:</p></p><pre class="prettyprint"><pre class="prettyprint"><span class="pln"></span><span class="pun">[</span><span class="typ">WebP</span> <span class="pun">file name]</span> <span class="pun">-</span> <span class="pln"></span> <span class="pun">[</span><span class="pln">PNG</span> <span class="pun">file name]</span></pre></pre><span style="color: #1e1e1e; letter-spacing: 2px; border-left: #FF3030 3px solid; border-right: #FF3030 3px solid; padding-left: 8px; padding-right: 8px; font-size: 12pt;"><span style="color: #1e1e1e; letter-spacing: 2px; border-left: #FF3030 3px solid; border-right: #FF3030 3px solid; padding-left: 8px; padding-right: 8px; font-size: 12pt;"><strong>using the graphical interface tool to convert WEBP</strong></span></span><p><p>If you find the command cumbersome, you can also use xnconvert, a free but open source graphical interface tool for format conversion:</p></p><p><p>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.</p></p><p><p><span class="post-step">1.</span> Open Xnconvert and add the file or folder you want to convert in input</p></p><p><p></p></p><p><p><span class="post-step">2.</span> 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.</p></p><p><p></p></p><strong><strong>download WEBP directly as a PNG image</strong></strong><p><p>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 <strong>Save Image as PNG</strong> plugin in the Chrome store directly via the link below:</p></p><p><p>Save Image as PNG</p></p><p><p></p></p><p><p>How to make Ubuntu system support WEBP image format</p></p></span>
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.