In terms of quality, PNGs are the best, but they are bulky and therefore not suitable for use on websites.
JPEG reduces file size but significantly reduces image quality.
WebP is a relatively new format that produces images of smaller size and better quality.
Now, AVIF is a new file format that can compress images without sacrificing quality. For the same image quality, they are smaller than WebP.
Recently Linux has begun to provide WebP support. However, many distributions do not support the AVIF image format by default.
If you download an image in AVIF format from the web, it will not display thumbnails.
avif image no thumbnail
If you try to open it using the default image viewer, it will most likely say "Not recognized Image file format" error.
avif images dont open linux
So, what is the solution? Can't see AVIF images at all on Linux?
No, that is not the case. With Linux, there's always a workaround.
There is a convenient image viewer called gThumb that can be used to open AVIF images on Linux.
It should be available in the repositories of most, if not all, Linux distributions.
On Ubuntu and Debian-based distributions, use the following command to install gThumb.
sudo apt install gthumb
install gthumb ubuntu
After the installation is complete, you can select an AVIF image, right-click on it, and Select the "Open With" option. Here, you can set gThumb as the default opening tool for AVIF images and open the file using it.
make gthumb default for avi
gThumb Displays all images in the same folder in thumbnail format under the open image .
avif image opened with gthumb in linux
After opening AVIF images with gThumb, they should also appear as thumbnails.
avif image thumbnail
That’s it. You can now enjoy AVIF images on your Linux desktop.
gThumb is an extremely versatile and powerful application. This sentence can be rewritten as: Why isn't this the default image viewer in GNOME or other desktop environments and distributions? .
Regarding the default AVIF support in Linux, it will be added sooner or later. Currently, gThumb does the job.
The above is the detailed content of How to view AVIF images in Ubuntu and other Linux distributions. For more information, please follow other related articles on the PHP Chinese website!