From 2ccd1b1099eb32f57a6fb3b91bfc2f8ed3fc1bca Mon Sep 17 00:00:00 2001 From: Leonardo Hernández Hernández Date: Tue, 4 Jun 2024 21:06:58 -0600 Subject: jxl: add initial support for JPEG XL using libjxl --- README.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index e0bb321..177b674 100644 --- a/README.md +++ b/README.md @@ -21,9 +21,13 @@ wallpaper _may_ be added in the future. * libpng (optional) * libjpeg (optional) * libwebp (optional) +* libjxl (optional) +* libjxl_threads (optional) -Note that if SVG support is disabled at least one of _libpng_, _libjpeg_ and -_libwebp_ is required. +Note that if SVG support is disabled at least one of _libpng_, _libjpeg_, +_libwebp_ and _libjxl_ is required. + +_libjxl\_threads_ is recommended for better performance decoding JPEG XL images ### Compile time @@ -41,10 +45,10 @@ ninja -C build sudo ninja -C build install ``` -By default, PNG, JPEG and WebP support is auto-detected. You can force +By default, PNG, JPEG, JPEG XL and WebP support is auto-detected. You can force disable/enable them with the meson command line options `-Dpng=disabled|enabled`, `-Djpeg=disabled|enabled` and -`-Dwebp=disabled|enabled`. +`-Dwebp=disabled|enabled` `-Djxl=disabled|enabled`. SVG support is enabled by default (as it does not require additional dependencies). You can disable it with the meson command line option `-Dsvg=false` -- cgit v1.2.3