%general-entities; ]> libjxl-&libjxl-version; libjxl Introduction to libjxl The libjxl package contains the reference implementation of the JPEG XL image format. &lfs121_checked; Package Information Download (HTTP): Download MD5 sum: &libjxl-md5sum; Download size: &libjxl-size; Estimated disk space required: &libjxl-buildsize; Estimated build time: &libjxl-time; libjxl Dependencies Required , , , , , , and Recommended (for the plugin) Optional and (for documentation), (for the plugin), (for the JAR), , , OpenEXR Installation of libjxl Install libjxl by running the following commands: mkdir build && cd build && cmake -D CMAKE_INSTALL_PREFIX=/usr \ -D CMAKE_BUILD_TYPE=Release \ -D BUILD_TESTING=OFF \ -D BUILD_SHARED_LIBS=ON \ -D JPEGXL_ENABLE_SKCMS=OFF \ -D JPEGXL_ENABLE_SJPEG=OFF \ -D JPEGXL_ENABLE_PLUGINS=ON \ -D JPEGXL_INSTALL_JARDIR=/usr/share/java \ -G Ninja .. && ninja This package does come with a test suite, but it requires gtest, which is not in BLFS. Now, as the &root; user: ninja install && gdk-pixbuf-query-loaders --update-cache Command Explanations gdk-pixbuf-query-loaders --update-cache: This command regenerates the GDK Pixbuf loader cache so that it is aware of the JPEG-XL loader. -DBUILD_TESTING=OFF: This parameter disables the tests because they require gtest, which is not in BLFS. If you wish to run the tests and have gtest installed, remove this parameter. -DBUILD_SHARED_LIBS=ON: This parameter enables building shared versions of the libraries instead of static ones. -DJPEGXL_ENABLE_SKCMS=OFF: This parameter disables building support for Skia's skcms since it is not necessary for BLFS purposes and requires skcms. -DJPEGXL_ENABLE_SJPEG=OFF: This parameter disables support for SimpleJPEG since it is not necessary for BLFS purposes and requires sjpeg. -DJPEGXL_ENABLE_PLUGINS=ON: This parameter enables Plugin support, which creates plugins for and if those packages are installed. -DJPEGXL_INSTALL_JARDIR=/usr/share/java: This parameter places the JAR file for JPEG XL support in the correct directory if is installed. Contents Installed Programs Installed Libraries Installed Directories benchmark_xl, cjxl, djxl, and jxlinfo libjxl.so, libjxl_cms.so, libjxl_extras_codec.so, libjxl_jni.so, libjxl_threads.so, and libpixbufloader-jxl.so (in /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders), /usr/include/jxl Short Descriptions benchmark_xl runs performance benchmarks against libjxl benchmark_xl cjxl compresses images into JPEG XL format cjxl djxl decompresses images from JPEG XL format into other formats djxl jxlinfo displays information about JPEG XL images jxlinfo libjxl.so contains the reference implementation of the JPEG XL standard libjxl.so libjxl_cms.so contains support for Little CMS in libjxl libjxl_cms.so libjxl_extras_codec.so contains additional codec support for JPEG XL images libjxl_extras_codec.so libjxl_jni.so contains a Java interface to support JPEG XL on systems where was installed at build time libjxl_jni.so libjxl_threads.so contains threading functions for JPEG XL libjxl_threads.so libpixbufloader-jxl.so contains a loader for gdk-pixbuf to allow it to load JPEG XL images libpixbufloader-jxl.so