ome / ome-codecs

OME image compression (coder-decoder implementations)
Other
4 stars 13 forks source link

JPEG XL Compression Support for OME-TIFF #34

Open kvinicki opened 10 months ago

kvinicki commented 10 months ago

Hi,

Is there any ongoing work to add JPEG XL compression support for the OME-TIFF (ome.tif) format. In my experience, I’ve achieved about a 50% size reduction with this reasonable settings: {“level”: 90, “effort”: 5} compared to jpeg compression. That is quite substantial for WSI sizes. Implementing this could lead to significant storage cost savings.

An image exported with the tifffile library using JPEG XL compression can’t be opened in QuPath (which relies on Bio-Formats):

with tiff.TiffWriter(f'img.ome.tif', bigtiff=True) as tif:
    tif.write(img, compression='jpegxl', compressionargs={"level":90, "effort":5})
dgault commented 10 months ago

Hi @kvinicki, thank you for raising the request. I have transferred this Issue to the OME-codex repository and labelled it as an enhancement request. Currently JPEG XL is not supported in the Bio-Formats stack and there is no ongoing work to implement it.

imagesc-bot commented 10 months ago

This issue has been mentioned on Image.sc Forum. There might be relevant details there:

https://forum.image.sc/t/jpeg-xl-support-for-ome-tiff/90988/4

kvinicki commented 10 months ago

Thank you :)