Hello,

Since the last update, I have continued working on the code that will import 
JPEG XL image files. So far, it seems I only need to finish a function which 
takes a stream of data and modifies a "Graphic" to have the data that was 
decoded from the stream. This function is "ImportJxlGraphic" which is called in 
vcl/source/filter/graphicfilter.cxx, a file where other image files are also 
imported.

The libjxl library has some helpful examples on how to use the API, and there 
is even helpful documentation online 
(https://libjxl.readthedocs.io/en/latest/api_decoder.html). Seeing how other 
filetypes, including WebP, are imported in LibreOffice was helpful as well.

My implementation so far feels near complete; I'm just working out the 
particulars of how "Bitmap" and "Graphic" types are used and what the expected 
format of these types is when importing.

This is my latest patchset: https://gerrit.libreoffice.org/c/core/+/208352/2.

Thank you,
Jesus Solis

Reply via email to