Skip to content

🖼️ JPEG XL Java ImageIO SPI (libjxl, jna)

Notifications You must be signed in to change notification settings

umjammer/vavi-image-jpegxl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Release Java CI CodeQL Java

vavi-image-jpegxl

Java JPEG XL decoder
wrapped libjxl by jna
based on https://github.com/libjxl/libjxl/blob/v0.9.x/examples/

jpeg-xl logo

© JPEG

Install

maven

  • repository

https://jitpack.io/#umjammer/vavi-image-jpegxl

jpeg-xl 0.9.x

$ brew install jpeg-xl
  • jvm option
  -Djna.library.path=/usr/local/lib

Usage

    BufferedImage image = ImageIO.read(Paths.get("/foo/bar.jxl").toFile());

References

TODO

  • jna version doesn't work well 0.7.0 works fine
    • different result per every execution (maybe memory related?)
  • brew updated to 0.7.0 done
  • jna version spi