libjxl

FORK: libjxl patches used on blog
git clone https://git.neptards.moe/blog/libjxl.git
Log | Files | Refs | Submodules | README | LICENSE

README.md (1037B)


      1 ## :warning: Not needed anymore
      2 
      3 As `image/jxl` is now supported by [shared-mime-info 2.2](https://gitlab.freedesktop.org/xdg/shared-mime-info/-/releases/2.2), it should not be necessary anymore to install this plugin.
      4 
      5 You can test if your system correctly understand the MIME type of JPEG XL image by obtaining a JPEG XL image, e.g. with
      6 ```bash
      7 wget https://raw.githubusercontent.com/libjxl/conformance/master/testcases/bicycles/input.jxl
      8 ```
      9 and with that sample JPEG XL file `input.jxl` (or any other valid JPEG XL file), run any of the following commands:
     10 ```bash
     11 xdg-mime query filetype input.jxl
     12 file --mime-type input.jxl
     13 mimetype input.jxl
     14 ```
     15 If the output contains `image/jxl` you are all set!
     16 
     17 
     18 ## JPEG XL MIME type
     19 
     20 If not already installed by the [Installing section of BUILDING.md](../../BUILDING.md#installing), then it can be done manually:
     21 
     22 ### Install
     23 ```bash
     24 sudo xdg-mime install --novendor image-jxl.xml
     25 ```
     26 
     27 Then run:
     28 ```
     29 update-mime --local
     30 ```
     31 
     32 
     33 ### Uninstall
     34 ```bash
     35 sudo xdg-mime uninstall image-jxl.xml
     36 ```
     37