Categories: Ubuntu

How to Enable JPEG-XL (.jxl) Image Support in Ubuntu 22.04/20.04

Want to open (or export to) .jxl files? Here’s how to enable the image format support in Ubuntu and Debian.

JPEG-XL (.jxl) is a royalty-free raster-graphics image format supports both lossy and lossless compression. It includes features such as animation, alpha channels, layers, thumbnails, and has better compression efficiency (60% improvement) comparing to JPEG.

GNOME favors JPEG-XL as background wallpaper in next version 46. But, Ubuntu now does not support the image format due to lack of a build dependency.

If you have some .jxl images stored in Ubuntu, then here’s how to make them work in image viewer, GIMP, and maybe other graphical apps.

Enable
Sponsored
JPEG-XL Support in Debian & Ubuntu

There’s a popular free open-source libjxl library for encoding and decoding JPEG-XL in Linux.

Many Linux Distributions have made the library into system repositories. Ubuntu also has the library in system repository since Ubuntu 23.10, but built without gdk-pixbuf plugin for image loading and pixel buffer manipulation.

Thankfully, libjxl project provides official .deb packages, so far supports Debian 11 Bullseye, Debian 12 Bookworm, Debian unstable Sid, Ubuntu 22.04, and Ubuntu 20.04.

1. Download libjxl package

First, go to the project releases page via the link button below:

Under ‘Assets’ section, click “Show all xx assets” and select download jxl-debs... for your system. For Ubuntu 18.04, scroll down and select download version 0.8.2.

In case you don’t even know which system version is running, launch terminal (for Ubuntu press Ctrl+Alt+T) and run command:

lsb_release -a

For Linux Distributions based on Ubuntu or Debian, run cat /etc/os-release to tell which upstream version your system is based on.

Sponsored

2. Install libjxl

After downloaded the package, extract it in your file manager, finally right-click on the new generated folder and select “Open in Terminal“.

In pop-up terminal window, run ls to list all contained files, and run the command below to install all the deb packages:

sudo apt install ./*.deb

NOTE: There may be package conflicts if you installed 3rd-party libjxl as dependency, such as gThumb from this PPA. I’ve re-built the package without my personal build of libjxl.

After installed the packages, you can now re-open image viewer and/or image editors to see the magic!

GIMP can now export .jxl after this tutorial

That’s all. Enjoy!

The post How to Enable JPEG-XL (.jxl) Image Support in Ubuntu 22.04/20.04 appeared first on Osgrove.

Ubuntu Server Admin

Recent Posts

Cut data center energy costs with bare metal automation

Data centers are popping up everywhere. With the rapid growth of AI, cloud services, streaming…

8 hours ago

Build the future of *craft: announcing Starcraft Bounties!

Our commitment to building a thriving open source community is stronger than ever. We believe…

8 hours ago

NodeJS 18 LTS EOL extended from April 2025 to May 2032 on Ubuntu

The clock was ticking: Node.js 18’s upstream End of Life (EOL) The OpenJS Foundation is…

8 hours ago

Native integration now available for Pure Storage and Canonical LXD

June 25th, 2025 – Canonical, the company behind Ubuntu, and Pure Storage, the IT pioneer…

1 day ago

Revolutionizing Web Page Creation: How Structured Content is Slashing Design and Development Time

Co-authored with Julie Muzina A year ago, during our Madrid Engineering Sprint, we challenged ourselves…

2 days ago

Ubuntu Weekly Newsletter Issue 897

Welcome to the Ubuntu Weekly Newsletter, Issue 897 for the week of June 15 –…

3 days ago