gecko-dev/third_party/jpeg-xl/plugins/gdk-pixbuf
Updatebot 4cff8b98a2 Bug 1841461 - Update libjxl to 190d44fbe463c5c3081081c80633639f69478d97 r=saschanaz
Differential Revision: https://phabricator.services.mozilla.com/D182638
2023-07-04 12:23:54 +00:00
..
CMakeLists.txt Bug 1834208 - Update libjxl to 91760e31a40fb811867fbe9bda6ddf73c962389e r=saschanaz 2023-05-22 11:53:20 +00:00
README.md Bug 1818922 - Update libjxl to 73cb36f7129e1ce192992792778b146ed9b655a5 r=tnikkel 2023-02-27 12:55:08 +00:00
jxl.thumbnailer
loaders_test.cache
pixbufloader-jxl.c Bug 1841461 - Update libjxl to 190d44fbe463c5c3081081c80633639f69478d97 r=saschanaz 2023-07-04 12:23:54 +00:00
pixbufloader_test.cc

README.md

JPEG XL GDK Pixbuf

The plugin may already have been installed when following the instructions from the Installing section of BUILDING.md, in which case it should already be in the correct place, e.g.

/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-jxl.so

Otherwise we can copy it manually:

sudo cp $your_build_directory/plugins/gdk-pixbuf/libpixbufloader-jxl.so /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-jxl.so

Then we need to update the cache, for example with:

sudo /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders --update-cache

In order to get thumbnails with this, first one has to add the jxl MIME type, see ../mime/README.md.

Ensure that the thumbnailer file is installed in the correct place, /usr/share/thumbnailers/jxl.thumbnailer or /usr/local/share/thumbnailers/jxl.thumbnailer.

The file should have been copied automatically when following the instructions in the Installing section of README.md, but otherwise it can be copied manually:

sudo cp plugins/gdk-pixbuf/jxl.thumbnailer /usr/local/share/thumbnailers/jxl.thumbnailer

Update the Mime database with

update-mime --local

or

sudo update-desktop-database

Then possibly delete the thumbnail cache with

rm -r ~/.cache/thumbnails

and restart the application displaying thumbnails, e.g. nautilus -q to display thumbnails.