Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to view WebP image format under Linux

2025-03-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

Editor to share with you how to view the WebP picture format under Linux, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

WebP has a better image data compression algorithm, can bring smaller picture volume, and has no difference in image quality recognized by the naked eye; at the same time, it has the characteristics of lossless and lossy compression mode, Alpha transparency and animation.

View WebP images directly in Ubuntu or other Linux

As we said earlier, the GNOME Image Viewer, as the default image browser for Ubuntu and many other Linux desktops, does not support WebP images, and there is currently no useful plug-in that allows it to support WebP directly. However, the gThumb image management tool we strongly recommended supports WebP directly, so we recommend you to try it.

Users of Ubuntu or derivative version can use apt-get install gthumb to install, and after installation, they can directly open the Webp image.

If you like gThumb as much as I do, you can set it directly as the default open application for webp files by following these steps:

1. Right-click any .webp format file-select Properties from the pop-up shortcut menu

two。 Select gThumb in the list on the Open with tab, and then click set as default.

GThumb provides more functions than other image viewers, such as editing pictures, adding color filters and resizing pictures in batches. Although not as professional as XnRetro, it is sufficient for daily use. If you want to know more about the best photo management software in Linux, you can check out our previous introduction.

If the unfortunate person does not like gThumb, you can also try to install the following software in Lninux, which supports opening webp directly:

XnView (not open source) GIMP can also be supported through a third-party Webp plug-in. The installation method can refer to this PPAGwenview to convert WebP images to PNG or JPEG.

You can use * * command tools or graphics tools * * to convert WebP images to PNG or JPEG in Linux, which we will introduce below.

Use the command line to convert webp

1. First install the WebP tool in the terminal using the following command:

Sudo apt-get install webp

two。 You can convert JPG or PNG to WEBP using the following command:

Cwebp-Q [Image quality] [JPEG/PNG File name]-o [WebP File name]

3. Use the following command or convert a WEBP picture to PNG:

Dwebp [WebP File name]-o [PNG File name] convert webp using graphical interface tools

If you find commands troublesome to use, you can also use XnConvert, a free but not open source graphical interface tool, for format conversion:

XnConvert is also very powerful, and you can also use it to resize pictures in batches. In this section, we'll just look at how it converts WebP images to PNG/JPEG.

1. Open XnConvert and add the file or folder to be converted in input

two。 It is very convenient to specify the export path in the "output" tab-select the desired target type among the many formats in the "format" drop-down list-and then click the "convert" button.

Download WebP directly to PNG picture

If you don't want to install any software or download pictures in WebP format, we can also save the images in the web page as PNG format through the Chrome plug-in. This method is especially suitable for designers who often type all kinds of materials and suffer from format conversion, and lazy bird users like me. Install the Save Image As PNG plug-in in the Chrome App Store directly through the following link:

Save Image As PNG

The above is all the contents of the article "how to View WebP Picture format under Linux". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report